Parallel Action with Change State Action

  • 21 December 2016
  • 2 replies
  • 2 views

Badge +5

My workflow is a simple one, I do have two task for separate people which can be handled at the same time, that is they are not dependent on one being completed first.  Can I use the Parallel Action to change the state and send each one their task?

Example:

197144_pastedImage_1.png

Thanks,

Suzanne


2 replies

Userlevel 5
Badge +14

do you expect state machine will switch to and run two state machine branches in parallel?

this is definitely not possible. state machine can run just one state branch at a time.

furthermore, it's not a good idea to change state within parallel action. state machine state is always changed by last executed change state action. with parallel action, you have no control over order of effective execution of single actions in parallel branches. so you can not be sure which change state action is executed last.

Badge +16

that won't work.  why don't you have your flexi tasks in those branches as opposed to change states?  and have a change state after the parallel action (i.e. both tasks) have completed?

Reply