GetExecutionStatus
int
private function CBPWorkflow::GetExecutionStatus();
This method returns currect completion status for a workflow.
Returned value
Returned value corresponds to constants of the CBPActivityExecutionStatus class. Possible values:
- CBPActivityExecutionStatus::Initialized - workflow is created,
- CBPActivityExecutionStatus::Executing - workflow is in progress,
- CBPActivityExecutionStatus::Canceling - workflow is cancelled,
- CBPActivityExecutionStatus::Closed - workflow is completed,
- CBPActivityExecutionStatus::Faulting - workflow is stopped due to error.
© «Bitrix24», 2001-2024