Exception caught in rest step in flow designer
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 03:48 AM
catch (ex) {
msg = ex.message;
current.variables.exception_caught = msg; //Exception Caught message
current.variables.message_in_table = errMessage; //Error message
current.variables.scenario_choices = 'exception';
var wff = new Workflow().getRunningFlows(current);
while (wff.next()) {
new Workflow().broadcastEvent(wff.sys_id, 'New.hire.7');
}
} I am converting workflow to flow desginer and i have used Custom action with rest step for integration but what if the exception caught then how can i do it in flow desginer and set those variables.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 04:09 AM
@indrajeetma please go through this if helps: