• Модуль: rpa
  • Путь к файлу: ~/bitrix/modules/rpa/lib/integration/bizproc/document/item.php
  • Класс: BitrixRpaIntegrationBizprocDocumentItem
  • Вызов: Item::getDocumentStages
static function getDocumentStages(string $documentType): array
{
	$type = self::getType($documentType);
	$stages = [];

	if ($type)
	{
		foreach($type->getStages() as $stage)
		{
			$stages[$stage->getId()] = $stage->getName();
		}
	}

	return $stages;
}