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
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