Help stopping workflow from subflow in Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2022 08:01 AM
Hello All! I just chunked a large (~200 steps) Flow Designer workflow down into smaller pieces using subflows. However, I'm having a problem with the subflows. Before it was chunked down (when it was one big workflow) there was a point where it said "If X is done, then End Workflow" (see screenshot 1) which would end the entire workflow. Unfortunately, in the subflow I don't see the option to "End Flow"; rather, I only see the option to "End Subflow" (see screenshot 2). This option ends the subflow but not the primary flow (see screenshot 3 where the other subflow didn't end). I need the "End Subflow" option to terminate the entire flow. Does anyone have any suggestions on this please?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2022 08:35 AM
You need to use end flow logic in your flow to end the complete flow based on conditions.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2022 08:47 AM
Thank you for the reply, Sachin! Are you referring to the "End flow" option I have in my 1st screenshot? If so, my question around that is how do I condition something out to know when the subflow ended by the "End subflow" forced end and not just through natural completion of the subflow?
The reason that is a concern is that the "End flow" option should only be called when a subflow is terminated via the "End subflow" action. Otherwise, all of the flow should continue onward. I can't figure out how to condition it to that level. Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 09:47 AM
So we had this issue too. Editing you could see both End Flow and End Subflow. Don't worry about it. If you save/publish it it should make them all End Subflow. Close out of the tab on flow designer, and reopen it back up and all now say End Flow. So, i wouldnt worry about this.