CBPRuntime::SendExternalEvent: Bitrix method

      
<?php 
//  CBPRuntime :: SendExternalEvent()
//  /dist/bitrix/modules/bizproc/classes/general/runtime.php:376

    
public static function SendExternalEvent($workflowId$eventName$arEventParameters = array())
    {
        
$runtime CBPRuntime::GetRuntime();
        
$workflow $runtime->GetWorkflow($workflowId);
        if (
$workflow)
        {
            
$workflow->SendExternalEvent($eventName$arEventParameters);
        }
    }