• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Workflow/Workflow.php
  • Класс: Bitrix\Crm\Workflow\Workflow
  • Вызов: Workflow::setStage
public function setStage(string $nextStage): bool
{
	if ($this->isStageValid($nextStage) && $this->canSwitchToStage($nextStage))
	{
		return $this->persist($nextStage);
	}
	return false;
}