Метод resolveActiveLaunchedCopyId
Сигнатура метода
private function resolveActiveLaunchedCopyId(string $systemCode): ?int
Возвращает:
?int
Описание
The origin of a copy is compared here rather than by the column of the setting: ORIGIN_SYSTEM_CODE is stored in a text column that MySQL compares case insensitively, while the check of the hidden code in BizProc is an identity check. A copy launched from a differently cased code is somebody else's template for BizProc, and counting it as the copy of this agent would confirm the invariant with no working agent behind it - the same strictness the source of the copy is chosen with in resolveSystemTemplate(). The whole set of the copies the column accepts is read for the same reason the candidate blueprints are: a limited select would spend its slot on a row that merely resembles the code and hide the real copy behind it. The set is tiny by nature, and the rows one copy is multiplied into by the section join answer the same.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$systemCode
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/integration/bizproc/callassessmentaiagent.php