- Модуль: bizproc
- Путь к файлу: ~/bitrix/modules/bizproc/lib/automation/engine/template.php
- Класс: BitrixBizprocAutomationEngineTemplate
- Вызов: Template::getRobotSettingsDialog
public function getRobotSettingsDialog(array $robot, $request = null)
{
if (isset($robot['Properties']) && is_array($robot['Properties']))
{
$robot['Properties'] = AutomationHelper::convertProperties($robot['Properties'], $this->getDocumentType());
}
unset($robot['Delay'], $robot['Condition']);
$copy = clone $this;
$copy->setRobots([$robot]);
return CBPActivity::callStaticMethod(
$robot['Type'],
"GetPropertiesDialog",
array(
$this->getDocumentType(), //documentType
$robot['Name'] ?? null, //activityName
$copy->template['TEMPLATE'], //arWorkflowTemplate
[], //arWorkflowParameters
[], //arWorkflowVariables
$request, //arCurrentValues = null
'bizproc_automation_robot_dialog', //formName = ""
null, //popupWindow = null
SITE_ID //siteId = ''
)
);
}