Skip to main content

ServiceNow Broadcast an event to workflow

ServiceNow Broadcast an event to workflow


 

/where current is a task record with a workflow context
      var wf = new Workflow().getRunningFlows(current);
      while(wf.next()) {     
          new Workflow().broadcastEvent(wf.sys_id, 'resume');
      }

Comments