task.item.getallowedtaskactionsasstrings
Attention! This method is deprecated and is no longer supported. It is recommended to use the methods tasks.task.*.
Returns an array whose keys are acton names (the names correspond to PHP class constants CTaskItem) and values show whether the action is allowed (true) or not allowed (false).
Function parameters
Parameter | Description |
---|---|
TASKID | Task ID. |
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.getallowedtaskactionsasstrings', [13], function(result) { console.info(result.data()); console.log(result); } );
© «Bitrix24», 2001-2024