CBPAllWorkflowPersister::LoadWorkflow: Bitrix method

      
<?php 
//  CBPAllWorkflowPersister :: LoadWorkflow()
//  /dist/bitrix/modules/bizproc/classes/general/workflowpersister.php:149

    
public function LoadWorkflow($instanceId$silent false)
    {
        
$state $this->RetrieveWorkflow($instanceId$silent);
        if (
strlen($state) > 0)
            return 
$this->RestoreFromSerializedForm($state);

        throw new 
Exception("WorkflowNotFound");
    }