bizproc.workflow.template.update
The method modifies workflow template. Requires administrator access permissions. This method only updates the templates created via the method bizproc.workflow.template.add, because such templates are bound to a specific app.
Parameters
Parameter | Description | Available from version |
---|---|---|
ID | Modified template ID. | |
FIELDS | Array of modified parameters. |
Example
function renameTemplate(id, name) { BX24.callMethod( 'bizproc.workflow.template.update', {ID: id, FIELDS: {'NAME': name}}, function(result) { if(result.error()) alert("Error: " + result.error()); console.log(result); } ); }
© «Bitrix24», 2001-2024