Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2022 07:18 AM
Hi Experts,
startFlow() function does not work as expected after executing the code below from Background Script or Work Flow - Run Script.
Is there anything wrong/missing from this code?
var wf = new Workflow();
var wfId = wf.getWorkflowFromName("My Workflow");
gs.log(wfId); //---> This is getting displayed!!!
wf.startFlow(wfId, null, "My Workflow", current, 'update');
Thanks!
Solved! Go to Solution.
Labels:
- Labels:
-
Scripting and Coding
-
Team Development