Answer the question
In order to leave comments, you need to log in
Bitrix24 task closing event - what is this event called?
Bitrix24 task closing event - what is this event called?
here it is not here
https://dev.1c-bitrix.ru/api_help/tasks/events/ind...
the closest in meaning is
OnTaskUpdate After updating the task.
but I need an event that fires after the task is closed
Answer the question
In order to leave comments, you need to log in
There is nothing else there. Use `OnTaskUpdate`
It has everything you need
in the handler will come 2 parameters $iTaskId and $arFields
inside will be the current status $arFields['STATUS'] when it is equal to CTasks::STATE_COMPLETED and not equal to $arFields['META: PREV_FIELDS']['STATUS'] , it means that the status has changed to closed
Then everything is in your hands
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question