Template :: getRobotSettingsDialog: Bitrix method

      
<?php 
//  Bitrix\Bizproc\Automation\Engine\Template :: getRobotSettingsDialog()
//  /dist/bitrix/modules/bizproc/lib/automation/engine/template.php:114

    
public function getRobotSettingsDialog(array $robot$request null)
    {
        if (isset(
$robot['Properties']) && is_array($robot['Properties']))
        {
            
$robot['Properties'] = $this->convertRobotProperties($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'], //activityName
                
$copy->template['TEMPLATE'], //arWorkflowTemplate
                
[], //arWorkflowParameters
                
[], //arWorkflowVariables
                
$request//arCurrentValues = null
                
'bizproc_robot_dialog'//formName = ""
                
null//popupWindow = null
                
SITE_ID //siteId = ''
            
)
        );
    }