- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 08:01 AM
In BR we synchronous as well asynchronous rule when it comes to flow how it behaves by default??Inside as per the logic it will be obviously synchronous.
But if want to write a script on business rule, I would write async as it is asynchronous. in the same manner what about flow.... when it comes to same logic if I want implement using flow designer?? How it acts synchronously or asynchronously?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 08:19 AM
always in background by default asynchronous
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 02:28 PM
Hi @KM SN
Flows are Async by default.
//Async:
sn_fd.FlowAPI.getRunner().flow('flow_name').inBackground().withInputs(inputs).run();
//Sync
sn_fd.FlowAPI.getRunner().flow('flow_name').inForeground().withInputs(inputs).run();
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 08:19 AM
always in background by default asynchronous
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 02:28 PM
Hi @KM SN
Flows are Async by default.
//Async:
sn_fd.FlowAPI.getRunner().flow('flow_name').inBackground().withInputs(inputs).run();
//Sync
sn_fd.FlowAPI.getRunner().flow('flow_name').inForeground().withInputs(inputs).run();
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.