A
A
adam_carraway2019-03-18 11:48:49
Bitrix24
adam_carraway, 2019-03-18 11:48:49

Why is BP executed on only one trade?

In $resultDeal I have a lot of deals, I'm running a loop to run the BP on each one, but for some reason the BP is launched only on the first one, what can be?

foreach ($resultDeal as $row){
        $arErrorsTmp = array();
        $bic = CBPDocument::StartWorkflow(
            29,
            array("crm","CCrmDocumentDeal","DEAL_".$row['ID']),
            array('new_subtractor'=>'N'),
            $arErrorsTmp
        );
        print_r($bic);
    }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question