Documentation

OnTaskCommentUpdate

This event is triggered when performing operations with comments to a task, specifically when updating or deleting.

Response fields:

Field Description
FIELDS_BEFORE task fields prior to the event. If accessible task fields are unavailable, this field will contain the undefined value.
FIELDS_AFTER task fields after to the event. If accessible task fields are unavailable, this field will contain undefined value.
IS_ACCESSIBLE_BEFORE specifies if a task was accessible prior to the event (to be read). Possible values:
  • Y (Yes) - yes;
  • N (No) - no;
  • undefined - not defined, or verification was not performed.
IS_ACCESSIBLE_AFTER if a task became accessible after the event, or not (for read). Possible values:
  • Y (Yes) - yes;
  • N (No) - no;
  • undefined - not defined or verification was not performed.

Example for field values:

$arEventFields = array(
    'FIELDS_BEFORE' => array('ID' => $taskId), // modified task ID
    'FIELDS_AFTER' => array('ID' => $taskId), // modified task ID
    'IS_ACCESSIBLE_BEFORE' => 'undefined', // verification for task accessibility to be read was not performed 
    'IS_ACCESSIBLE_AFTER' => 'undefined' // verification for task accessibility to be read was not performed 
);


User Comments

User 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.
© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021