How to Run 2 or more records at a time in flow designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 04:29 AM
Hi All,
How can we run 2 or more records in the flow designer at a time. As I'm getting the records using "For each". I want to run both at a time. Right now, only 1 is getting triggered and its waiting for the action to be completed. I need both the actions to run a time using 2 records.
Example: Using each record I want to create a new parallel task for the catalog item. But its triggering only 1 at a time.
Note: I cant use run parallel because based on the record I need to run the flow.
Can anyone help me on this?
Thanks,
Ripunjai.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 04:41 AM
hello @Community Alums ,
Could you please provide some more requirement on the same ?
If you have the fixed number of records every time then you can run the Parallel step for all . but if not then you have to use for each loop for every record .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 05:22 AM
I dont have any fixed records. The record number can vary. So, I need to check if I require parallel task or not. If parallel task is true. I need to run those records at a time. For now, I'm using for each. But Its check for each record its creating a task and waiting till the action is completed. This is stopping me to trigger parallel task.
Thanks,
Ripunjai.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 09:02 AM
Hi @Community Alums ,
I believe that if you use a single flow, you won't be able to accomplish this
Instead of using 'For Each' flow logic, create a custom action ,Pass the output of Lookup records to this action and configure script logic to trigger another subflow or flow parallelly with the required inputs. The subflow or flow should consist of actions to create task.
Please refer below community article to trigger a flow from script.