• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/automation/component/base.php
  • Класс: BitrixBizprocAutomationComponentBase
  • Вызов: Base::getUsersFromResponsibleProperty
static function getUsersFromResponsibleProperty(array $robot, $propertyName): ?array
{
	$value = null;
	$props = $robot['Properties'];
	$path = explode('.', $propertyName);

	foreach ($path as $chain)
	{
		$value = ($props && is_array($props) && isset($props[$chain])) ? $props[$chain] : null;
		$props = $value;
	}

	return $value ? (array)$value : null;
}