Tracker::getBizprocTemplateIds: Bitrix method

      
<?php 
//  Bitrix\Bizproc\Automation\Tracker :: getBizprocTemplateIds()
//  /dist/bitrix/modules/bizproc/lib/automation/tracker.php:169

    
private function getBizprocTemplateIds($statuses)
    {
        
$documentType $this->target->getDocumentType();
        
$ids = array();

        
$iterator WorkflowTemplateTable::getList(array(
            
'select' => array('ID''DOCUMENT_STATUS'),
            
'filter' => array(
                
'=MODULE_ID' => $documentType[0],
                
'=ENTITY' => $documentType[1],
                
'=DOCUMENT_TYPE' => $documentType[2],
                
//'=AUTO_EXECUTE' => \CBPDocumentEventType::Automation,
                
'@DOCUMENT_STATUS' => $statuses
            
)
        ));

        while (
$row $iterator->fetch())
        {
            
$ids[$row['ID']] = $row['DOCUMENT_STATUS'];
        }

        return 
$ids;
    }