how to check state of an flow when completed and error caught
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2025 05:02 AM
Hi All
I am trying to trigger an sub flow from UI action. How to get status of the sub flow if it is completed or completed (with caught error). I need this information to process further.
Thank you in advance.
var result = {};
result['condition'] = 'test';
var gst = sn_fd.FlowAPI.getRunner()
.subflow('retrieve_supplier_details')
.inBackground()
.withInputs(result)
.run();
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2025 07:10 AM
share your subflow at which step did you purpose fully add the error
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader