Метод startOwnThread
Сигнатура метода
public function startOwnThread(int $activityId): void
Возвращает:
void
Описание
Makes the activity the head of a chain of its own - `THREAD_ID = ID`, the value a chain of one activity has. The column is storage-only and the value is the identifier the storage has just handed out, so no caller can name it before the row exists: the step attaching a new activity to no parent runs below the insert and asks for this. That one column and nothing else is written - no audit stamp is bumped, because the write of the activity has already happened (crm_activity.php:229-232 writes it the same way, past the update path).
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activityId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/V2/Internal/Repository/Activity/ActivityRepositoryInterface.php