Метод returnTaskActivityToWork
Сигнатура метода
private function returnTaskActivityToWork(Bindings $bindings, array $timelineParams, ?TaskActivityState $initialActivityState = null): Result
Возвращает:
Result
Описание
Undoing a completion goes by the state of the activity, not by the event that led here: a return to work publishes a status change and a renew, both of them arrive at this point independently, and either has to be able to finish what the other one left undone.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$bindings
|
Bindings
|
—
|
—
|
$timelineParams
|
array
|
—
|
—
|
$initialActivityState
|
?TaskActivityState
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/timeline/tasks/controller.php
Расположение метода в файле
Строки
347–502