CBPWorkflow :: GetAvailableStateEvents: Bitrix method

      
<?php 
//  CBPWorkflow :: GetAvailableStateEvents()
//  /dist/bitrix/modules/bizproc/classes/general/workflow.php:672

    
public function GetAvailableStateEvents()
    {
        if (!
is_a($this->rootActivity"CBPStateMachineWorkflowActivity"))
            throw new 
Exception("NotAStateMachineWorkflow");

        return 
$this->rootActivity->GetAvailableStateEvents();
    }