task.item.isactionallowed
Attention! This method is deprecated and is no longer supported. It is recommended to use the methods tasks.task.*.
Returns true if action is allowed, otherwise returns false.
Function parameters
Parameter | Description |
---|---|
TASKID | Task ID. |
ACTIONID | Validated action ID (see CTaskItem::ACTION_* constants of PHP class CTaskItem). |
Attention! Compliance to parameter sequence in the request is mandatory. If sequence is not observed, the request will be completed with errors.
Example
BX24.callMethod( 'task.item.isactionallowed', [13, 6], function(result) { console.info(result.data()); console.log(result); } );
© «Bitrix24», 2001-2024