SchedulerEventTable::deleteByWorkflow: Bitrix method

      
<?php 
//  Bitrix\Bizproc\SchedulerEventTable :: deleteByWorkflow()
//  /dist/bitrix/modules/bizproc/lib/schedulerevent.php:73

    
public static function deleteByWorkflow($workflowId)
    {
        
$connection Main\Application::getConnection();
        
$sqlHelper $connection->getSqlHelper();

        
$table $sqlHelper->forSql(static::getTableName());
        
$workflowId $sqlHelper->forSql($workflowId);

        
$connection->queryExecute("DELETE FROM {$table} WHERE WORKFLOW_ID = '{$workflowId}'");
    }