Continue with Workflow execution after form assignment
Hi,
I'ts there a way that a workflow execution can continue with next step after assign a form?
For example, if I need to assign a form to 10 persons, the workflow assings the first one and wait until complets (form submit) to continue with the assignment to the rest of the users in the list.
Thanks in advance.
Best Answer
-
Because of the parallel gate it will assign one form which will wait but then also go through the loop on the other path and assign the next person which will also wait and then loop and assign the next person and so on. Once the loop finishes it will end that path but the workflow itself is still in progress because it is waiting on responses from each person for each of the forms that were sent out:
0
Answers
-
There are probably other ways to do this but you would want your loop that goes through the list of persons to go into a parallel gate that has one path going to the form and a second path that re-enters your loop. This is a crude layout of kind of what you are looking to make:
A more fleshed out workflow using only Global Packages is a little more complicated. In this example I use the length as the index (which is why I subtract 1 before entering the loop) as well as the counter (so I had to change the conditional gate). This example also takes in a list of userIds as text since the length function takes in a list of text and then I have to convert from text type to person type to assign the form out. Making your own custom functions will help reduce the extra tasks and steps and you can handle your inputs/outputs and variables differently depending on the rest of your workflow and what else you are doing with it.
0 -
Thank you Joseph.
I already have a loop using dataset lenght and index, just like you suggest.
Now I'm thinking what happends when the form assignment step is reached once (keeps pending, right?) and then a second time to assign the same form to other user, and so onβ¦
I'm afraid that the form assignation step remains pending, waiting for the first user submit and doesn't make a new assignation to the the next user in the list
0 -
Because of the parallel gate it will assign one form which will wait but then also go through the loop on the other path and assign the next person which will also wait and then loop and assign the next person and so on. Once the loop finishes it will end that path but the workflow itself is still in progress because it is waiting on responses from each person for each of the forms that were sent out:
0 -
Good! I'll give a shot today and then and let you know the results. Thanks again.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 101 SQL DataFlows
- 622 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 748 Beast Mode
- 59 App Studio
- 41 Variables
- 686 Automate
- 176 Apps
- 453 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 396 Distribute
- 113 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 125 Manage
- 122 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 109 Community Announcements
- 4.8K Archive