Documentation

bizproc.workflow.template.delete

The method deletes workflow template. Requires the administrator access permissions. This method deletes only the templates created via the method bizproc.workflow.template.add, because such templates are bound to an app and only they can be deleted.

Parameters

Parameter Description Available from version
ID Deleted template ID.

Example

function deleteTemplate(id)
{
   BX24.callMethod(
      'bizproc.workflow.template.delete',
      {ID: id},
      function(result)
      {
         if(result.error())
            alert("Error: " + result.error());
         console.log(result);
      }
   );
}


© «Bitrix24», 2001-2022
Up