best practice for multiple tasks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 06:58 PM
whats the best practice for achieving below use case?
1. multiple tasks will be created upon catalog submission
2. tasks are created based on certain selection from user (must be simultaneously)
3. req & ritm auto closed once all tasks are closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 10:14 PM
Hi @Hafila Hatta ,
It sounds to me that you need to create a catalog item with a flow where multiple catalog task is being created based on user selection. Have you tried to create the flow in flow designer or where do you get stuck?
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 10:42 PM
yes - i have created a flow with IF condition & parallel flow to create the applicable tasks based on user selection. now the issue is the request item is not closed automatically per OOTB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 01:34 AM
so this is my flow. once all the tasks are closed, the RITM does not auto close. thats where im stuck with
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 07:27 AM
Hi @Hafila Hatta,
We configured a reusable SubFlow that both provides us with a 'Wait For All Tasks' To be completed, and sets the State on the RITM based on the State selected on the Catalog Task.
The SubFlow:
- Looks up the RITM associated to the parent Flow
- Then provides a 'For Each' step to look up all associated Catalog Task associated to the RITM where Active = False
- Then looks up the RITM a second time followed by another For Each Step to confirm that all Catalog Tasks are Active = False
- Once the SubFlow confirms that all Catalog Tasks are closed, it then provides an If Statement to update the RITM State / Stage to 'Completed' if all Tasks are Complete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2024 12:34 AM
Hi @Hafila Hatta ,
Your have created 4 independent strings for task creation. Instead you should every string with every possible solution and a wait for condition to wait on completion. When all is completed, the requested item should be updated accordingly. e.g. if user select 1 & 2, then this. If user select 1, 2 & 3 then this.
This is "just" another solution according to what @Josh Pirozzi already have mentioned.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/