• Модуль: voximplant
  • Путь к файлу: ~/bitrix/modules/voximplant/classes/general/vi_config.php
  • Класс: CVoxImplantConfig
  • Вызов: CVoxImplantConfig::SetLeadWorkflowExecution
static function SetLeadWorkflowExecution($executionParameter)
{
	if (!in_array($executionParameter, Array(self::WORKFLOW_START_IMMEDIATE, self::WORKFLOW_START_DEFERRED)))
		return false;

	COption::SetOptionString("voximplant", "lead_workflow_execution", $executionParameter);
	return true;
}