two sub flows that have the same task but need to make a choice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2024 05:44 AM
I have two sub flows running at the same time one for a laptop and one for mobile,
laptop mobile
clean laptop | clean mobile |
update software | update iOS |
contact user | contact user |
box laptop | box laptop |
wait for mobile to complete its stuff | wait condition to check if laptop complete it stuff |
Deliver Device (On Both sub flows but need just one sub flow to run) |
the issue that I am having is sometimes a mobile flow can run on its own sometimes a laptop can run on its own , and then we have both running at the same time. issue is both need their own tasks, the issue is both have the deliver device in their sub flows BUT we want to only generate on task for deliver device. Right now if a laptop and mobile flow is running it generate two tasks that says deliver device...I want to be able to chose one flow to run the deliver device if two flows are running and I'm having a hard time on how to get this working. I put in wait conditions but not sure if there is a way in flow designer to just skip a task if the other flow had done it

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2024 07:29 AM
Hi @ServNowDev ,
Why don't you keep creating deliver device logic outside of the subflow (keep it in the main flow)
Return deliver device info as output from the subflow to crate deliver device task in the main flow.
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025