Call Subflow from ScriptAction

Aravindha Ram
Tera Contributor

Hello,

Could anyone help on how to call a subflow asynchronously in scriptaction utilizing event parameter as input to subflow. Thanks in Advance.

2 REPLIES 2

Tony Chatfield1
Kilo Patron

Hi,  unfortunately your question\requirement is not very clear. Are you trying to trigger a workflow or flow from a script action?

The scoped workflow API has a set variable method, is this the information you require?

Workflow | ServiceNow Developers

 

Thanks Tony for your suggestion, yes i need to trigger a subflow asynchronously from script action with event parameter as input to subflow