bizproc.robot.update
This method updates fields of automation rules. Method parameters are similar to bizproc.robot.add
Example
function updateRobot1() { var params = { 'CODE': 'hash', 'FIELDS': { 'DOCUMENT_TYPE': '', 'FILTER': '' }, }; BX24.callMethod( 'bizproc.robot.update', params, function(result) { if(result.error()) alert("Error: " + result.error()); else alert("Success: " + result.data()); } ); }
© «Bitrix24», 2001-2024