Flow Designer and SubFlow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 11:51 AM
Hi All,
Im still learning on flow designer and would like advice on the use of sub flows. In this case would a sub flow be able to loop to approvals needed then create SCTask at the end
My requirements;
If Request type is one of Create/Update , Data fix, Reports:
group approval to Group 1 and wait for approval.
If rejected, Cancel & Close
Else
Approval to Group 2
If rejected, Cancel & Close
Approval to Group 3
If rejected, Cancel & Close
THEN Create Catalog Task for Catalog Item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 06:44 AM
65Hi @CJPeterson, In this case, you have multiple approval levels which requires the use of 'Ask For Approval' action which is already available in OOB. Also, every time you use the Approval action, you need to define the user or group to whom the approval should be triggered. If you are dealing with the multiple approvals based on different conditions, you should be using the 'Ask For Approval' action multiple times inside the Subflows as well but this also requires you to pass the inputs to the subflow but the challenge is with configuring the required approval group at different stages. If your flow has more no of actions which you feel can have impact on the performance, then you can look into Subflow part.
As both Actions and Subflows can be reused, here are the couple of things to consider to when to use:
1. A subflow is a reusable sequence of actions that cab be added to multiple flows.
2. To breakdown the complex flows (Limit the no of steps) to improve the performance.
Regards,
Sunil