Documentation

bizproc.workflow.kill

bizproc.workflow.kill method deletes a launched workflow.

Parameters

Parameter Description
ID Workflow ID.

Example

function killWf(id, cb)
{
   var params = {ID: id};

   BX24.callMethod(
      'bizproc.workflow.kill',
      params,
      function(result)
      {
         if(result.error())
            alert("Error: " + result.error());
         else if (cb)
            cb();
      }
   );
}


© «Bitrix24», 2001-2022
Up