If I have 5 query activities each pushing to their own Update List activities, in what order do those process?
Can we manipulate the order in which Workflow Activities execute?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Zamwize
Sadly I don’t think you can force a specific order to execute things. If for instance you have a Fork activity with x branches with one query in each branches, the query activities are executed sequentially and once the query in a branch is executed, the next activity will be executed while the 2nd query in your Fork branch will be executed. The only way I can think to force the sequence in a specific order is maybe by introducing an AND activity after the 1st query who will join with the transition of query one and branch 2 then do a fork of 2 branches: one to update while the 2nd one will be the 2nd query. And you repeat the process until all your queries are executed. It makes the workflow very complex and cumbersome to maintain.
Question on my side: why is the order important? Do you have an update from one query that depends from the result of another query ? Trying to understand importance of the order.
thans
Denis.
Hi @Zamwize
Sadly I don’t think you can force a specific order to execute things. If for instance you have a Fork activity with x branches with one query in each branches, the query activities are executed sequentially and once the query in a branch is executed, the next activity will be executed while the 2nd query in your Fork branch will be executed. The only way I can think to force the sequence in a specific order is maybe by introducing an AND activity after the 1st query who will join with the transition of query one and branch 2 then do a fork of 2 branches: one to update while the 2nd one will be the 2nd query. And you repeat the process until all your queries are executed. It makes the workflow very complex and cumbersome to maintain.
Question on my side: why is the order important? Do you have an update from one query that depends from the result of another query ? Trying to understand importance of the order.
thans
Denis.
Thank you @Denis_Bozonnet!
The And function seems to working as you guessed.
The order is important due to the scheduling of workflow executions leveraging lists as exclusions. We use lists for our more complex exclusion blocks that take far to long to run as a PDF when it's run 30 times a day.
Views
Replies
Total Likes
Thank you, @Amine_Abedour!
This also seems to work, although the number of JS activities on the page could get cumbersome.
Views
Replies
Total Likes
Hi @Zamwize,
Were you able to resolve this query with the help of the given solutions or do you still need more help here? Do let us know. In case the given solutions were helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.
Thanks!
Views
Replies
Total Likes
Views
Likes
Replies