Flow Designer: Run all items in list, independently through For Each Item In
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2025 03:27 PM
I am trying to solve an issue where I grab each value from a list collector variable and run independently through the same workflow, assigning a few tasks.
The issue is that I want task 1 assigned for all three business services:
- Asset-IBM Task 1
- Acrobat Distiller Task 1
- BOW-IBM Task 1
When 'Asset-IBM Task 1' is complete, I want that service to be assigned task 2, 'Asset-IBM Task 2' while the other two services are still at task 1.
Further, the RITM will only close when all tasks for each business service are complete. The main issue seems to be the 'Wait' attribute with the Create Catalog Task action. I built in a flow variable that iterates through the 'For Each Item In' loop. The wait condition waits until all are created and then it will wait. Not sure how to get Task 2 to work as I want each value treated independently.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2025 05:05 PM
Hello,
Always will is three tasks or will can add more tasks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2025 08:26 AM
I want each item to operate independently as three tasks will be assigned.
If task 1 is finished for the first business service, it should move to task 2. Whereas the second business service will still be at task 1.
If for any reason a task is rejected, it would only affect one business service and not the other.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2025 05:37 PM
Hi Mark
You can do it like this
- look up all business service records in list collector by sys_id
- for each (business service record)
- if not 'asset ibm' (sys id of record does not match asset ibm sys_id) - create task 1, deselect wait condition. This will create all tasks at the same time.
- if list collector contains sys_id of asset ibm record
- create asset ibm task 1 - wait condition is selected this time
- create asset ibm task 2
- look up all catalog tasks associated with the RITM where active = true
- if active tasks exist (count greater than 0)
- for each catalog task, wait for condition active = false
- close RITM
I'm assuming you want all task 1's spawning at the same time, which is why it's broken out like this. There might be a neater way of doing it but this works.
Hope that helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2025 03:41 AM
Hello @Mark Brogna
As per your requirement this is something I tried in PDI:
1) My main Flow
2) All Subflows:
1) 3 Task Creation:
2) Gatther All Catalog Task Status
Now over catalog Item i have a list collector reference to user table, so submitted with three user randomly as show below:
Now when RITM was created flow got triggered and it created three initial Ctask as required now one I kept as it is and other two I updated with other states as showed below:
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.