Call Subflow in BR
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2022 11:10 PM
Hello Experts,
I have created a subflow ,that i am calling in Script include through the below script.
Please help me how to use(call) in the business Rule to fetch the output.
Sample Script Include
dl :function(inputs){
try{
var result=sn_fd.FlowAPI.getRunner().subflow('abc.def').inForeground().withInputs(inputs).run();
var outputs = result.getOutputs();
return JSON.stringify(outputs);
}
catch(ex){
var message = ex.getMessage();
return {"error_message":message, "status":"Error"};
}
}
Regards
Labels:
- Labels:
-
Incident Management
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2022 12:46 AM