Documentation

crm.automation.trigger.delete

Scope: catalog Permissions to execute: for all

Method deletes a trigger. Returns true or an error with description.

Parameters

Method Description Available from version
CODE Internal unique (within application) trigger identifier. Must match to the mask [a-z0-9\.\-_]

Example

function deleteTrigger(code)
{
	BX24.callMethod(
		'crm.automation.trigger.delete',
		{
			"CODE": code
		},
		function(result)
		{
			if(result.error())
				alert("Error: " + result.error());
			else
			{
				alert("Success: " + result.data());
			}
		}
	);
}
© «Bitrix24», 2001-2024