RestService::sendEvent: Bitrix method

      
<?php 
//  Bitrix\Bizproc\RestService :: sendEvent()
//  /dist/bitrix/modules/bizproc/lib/restservice.php:447

    
public static function sendEvent($params$n$server)
    {
        
$params array_change_key_case($paramsCASE_UPPER);
        list(
$workflowId$activityName$eventId) = self::extractEventToken($params['EVENT_TOKEN']);

        \
CBPRuntime::sendExternalEvent(
            
$workflowId,
            
$activityName,
            array(
                
'EVENT_ID' => $eventId,
                
'RETURN_VALUES' => isset($params['RETURN_VALUES']) ? $params['RETURN_VALUES'] : array(),
                
'LOG_MESSAGE' => isset($params['LOG_MESSAGE']) ? $params['LOG_MESSAGE'] : '',
            )
        );

        return 
true;
    }