DominikS
Canvas Initiate

Workflow with state machine and condition

Jump to solution

Hi there, 

I created a small approval workflow with a state machine which works fine until I place a condition inside a state.
Then the change state function gets stuck and won't enter the next state. (Workflow attached)

State machine starts with Cross Fct 1. I just added a condition to check whether a field is empty not. 

 

I've read through several forum posts and tried given solutions.
Unfortunately resetting the timer job, iis reset and also disabeling safe looping to test the workflow did not resolve the issue.

 

Working on prem with SP 2016 with the latest forms and workflow release.

Am I doing smth wrong?

Any help is highly appreciated.

 

0 Kudos
Reply
2 Replies
MegaJerk
Automation Master
Automation Master

Re: Workflow with state machine and condition

Jump to solution

In the image you provided I see that you've named one branch of your state machine to "Cross Fct 1", but there is no indication that there exists a variable called "Cross Fct 1". Where are you setting its value? 

Additionally, can you provide an image of the workflow as shown via the Workflow History page? It would be helpful to see *where* its stuck in the process. 

An image or copy / paste of the actual timestamped history would be nice as well (which you can also get by looking at the Workflow History of the item the workflow is being ran on)


0 Kudos
Reply
DominikS
Canvas Initiate

Re: Workflow with state machine and condition

Jump to solution

Thanks for the feedback.

I replaced the conditions with parallel actions + run ifs to workaround the problem.

I can live with that for now.. 🙂

View solution in original post

0 Kudos
Reply