Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Workflow Activity Execution Order

Avatar

Level 2

If I have 5 query activities each pushing to their own Update List activities, in what order do those process?

  • Most recently added first?
  • Most recently updated first?
  • Other?

Can we manipulate the order in which Workflow Activities execute?

3 Replies

Avatar

Employee Advisor

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. 

Avatar

Level 3

Hello @Zamwize,

 

You can 'trick' Adobe by adding empty Js activities like this to manipulate the order: 

 

Amine_Abedour_0-1653386851064.png

 

result: 

 

Amine_Abedour_1-1653386915273.png

 

Br,

 

 

Avatar

Administrator

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!