Tuesday, October 9, 2018

Call a servicenow workflow thorough business rule script

var vars = {};
var w = new Workflow();
var context = w.startFlow('sys_id_of_the_workflow', current, current.operation(), vars);

Sys id of the workflow can be obtained by looking at the wf_workflow table

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.