task.elapseditem.isactionallowed
task.elapseditem.isactionallowed(taskId, itemId, actionId)
Verify whether the action is allowed.
Parameters
Parameter | Description |
---|---|
taskId | Task ID. |
itemId | Time spent record ID. |
actionId | Action 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.elapseditem.isActionAllowed', [1, 204, 2], function(reply){ var isAllowed = reply.data(); // or this way (similarly): var isAllowed = reply.answer.result; } );
© «Bitrix24», 2001-2024