Running Branch for Each Step Asynchronously
Comments
-
How would I accomplish running the steps in this loop asynchronously? The process maps data into a structure called “Rule Set” then runs a rule using the data values in the “Rule Set” structure. The results of the rule set are added to a List of “Review Results”. I have tried using a “Branch ForEach” step, but the “Add Item to List” step doesn’t really work with the branch for each.
-
To use the branch for each step, youll need to have a linked (async) flow to follow it up. Inside this linked flow, youll need to place all of your components in there, which in your case would include the Add Item to List Step, Rule Set, and subsequent flows that need to be ran.
Here is some documentation on how to use the Branch ForEach Step: [url=https://documentation.decisions.com/docs/avoid-unexpected-results-branch-step]https://documentation.decisions.com/docs/avoid-unexpected-results-branch-step[/url]
Another option is to use Run Flow For List[Batch Processing]. It takes in a list and outputs a list.
If you change the behavior to Async and Wait, you will get the parallel processing you are looking for here.Here is some documentation: [url=https://documentation.decisions.com/run-flow-list-step/]https://documentation.decisions.com/run-flow-list-step/[/url]
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions