• Модуль: scale
  • Путь к файлу: ~/bitrix/modules/scale/lib/actionsdata.php
  • Класс: BitrixScaleActionsData
  • Вызов: ActionsData::getConditionActionResult
static function getConditionActionResult(string $command): array
{
	$result = [];

	try
	{
		$action =  new Action("condition", [
				"START_COMMAND_TEMPLATE" => $command,
				"LOG_LEVEL" => Logger::LOG_LEVEL_DISABLE
			], "", []
		);

		if($action->start())
		{
			$result = $action->getResult();
		}
	}
	catch(Exception $excpt)
	{}

	return $result;
}