36 if (in_array((
int)$type, self::DEBUG_TRACK_TYPES,
true))
38 if (!is_array($actionNote))
40 $actionNote = $this->preparePropertyForWritingToTrack($actionNote);
43 $actionNote = \Bitrix\Main\Web\Json::encode($actionNote);
57 $trackingResult = new \CBPTrackingServiceResult();
58 $trackingResult->InitFromArray([
61 'WORKFLOW_ID' => $workflowId,
63 'ACTION_NAME' => $actionName,
64 'ACTION_TITLE' => $actionTitle,
65 'ACTION_NOTE' => $actionNote,
66 'MODIFIED' => (
string)(
new DateTime()),
70 $result = $trackingResult->fetch();