CBPAllTrackingService::DeleteByWorkflow: Bitrix method

      
<?php 
//  CBPAllTrackingService :: DeleteByWorkflow()
//  /dist/bitrix/modules/bizproc/classes/general/trackingservice.php:85

    
public static function DeleteByWorkflow($workflowId)
    {
        global 
$DB;

        
$workflowId trim($workflowId);
        if (!
$workflowId)
        {
            throw new 
Exception("workflowId");
        }

        
$DB->Query(
            
"DELETE FROM b_bp_tracking ".
            
"WHERE WORKFLOW_ID = '".$DB->ForSql($workflowId)."' ",
            
true
        
);
    }