Issue with State Machine exiting and continuing workflow

  • 28 May 2020
  • 1 reply
  • 3 views

Badge

In this workflow, there are two state machines - one nested within the other. The first state machine routes a request based the field 'JIB Type' -- either Temporary or Permanent. And the second state machines nested inside are for switching between the approval processes for the JIB Types.

7928i6A6F6F8BA7A30642.png

 

The states change appropriately until the last state where once approved, it shows the 'Change State' action to End State Machine executes successfully, but the last approval task just keeps getting recreated. 

 

7929i0A6A97B46E8FCBB1.png


1 reply

Userlevel 6
Badge +22
Hi,

Running a State Machine inside a State Machine is a very bad idea as you have found out. You may want to rethink your workflow design.

Reply