The event is called after a task was created.
|FIELDS_BEFORE||Specifies the task fields before the event has occurred. Because no task had existed before it was created, this field is always undefined for this event (see the example below).|
|FIELDS_AFTER||Specifies an array of the task fields available after the event has occurred (the task has been created). This field may be undefined if there was an error.|
|IS_ACCESSIBLE_BEFORE||Specifies if the task was available for reading before the event has
occurred. Although the following values are defined for this field, it
cannot be Y because no task had existed before it was created.
|IS_ACCESSIBLE_AFTER||Specifies if the task is available for reading after the event has
occurred. It can be one of the following values:
$arEventFields = array( 'FIELDS_BEFORE' => 'undefined', // there were no task fields prior to the event (the task was not created yet) 'FIELDS_AFTER' => array('ID' => $taskId), // the ID of the new task 'IS_ACCESSIBLE_BEFORE' => 'N', // the task was not available for reading before the event 'IS_ACCESSIBLE_AFTER' => 'undefined' // task access permission was not checked );
User CommentsUser comments are not part of official documentation. Use information provided by other users in the comments at your own risk.
The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
how I can make queries to an instance in the cloud
© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021