CBPDocument :: SendExternalEvent: Bitrix method

      
<?php 
//  CBPDocument :: SendExternalEvent()
//  /dist/bitrix/modules/bizproc/classes/general/document.php:409

    
public static function SendExternalEvent($workflowId$workflowEvent$arParameters, &$arErrors)
    {
        
$arErrors = array();

        try
        {
            
CBPRuntime::SendExternalEvent($workflowId$workflowEvent$arParameters);
        }
        catch(
Exception $e)
        {
            
$arErrors[] = array(
                
"code" => $e->getCode(),
                
"message" => $e->getMessage(),
                
"file" => $e->getFile()." [".$e->getLine()."]"
            
);
        }
    }