Runtime::writeTriggerTracking: Bitrix method

      
<?php 
//  Bitrix\Bizproc\Automation\Engine\Runtime :: writeTriggerTracking()
//  /dist/bitrix/modules/bizproc/lib/automation/engine/runtime.php:100

    
protected function writeTriggerTracking($workflowId$trigger)
    {
        
$trackingService = \CBPRuntime::getRuntime(true)->getTrackingService();

        
$trackingService->write(
            
$workflowId,
            \
CBPTrackingType::Trigger,
            
'APPLIED_TRIGGER',
            \
CBPActivityExecutionStatus::Closed,
            \
CBPActivityExecutionResult::Succeeded,
            
'',
            
$trigger['ID']
        );
    }