• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/util/process.php
  • Класс: BitrixTasksUtilProcess
  • Вызов: Process::getCurrentPercentRange
public function getCurrentPercentRange()
	{
		try
		{
			$prevStage = $this->getPreviousStage();
			$percent = $this->stages[$prevStage]['PERCENT'];
		}
		catch(FlowException $e)
		{
			$percent = 0;
		}

		return $this->getStagePercent($this->stage) - $percent;
	}