I created a workflow with the Flexi Task outcome options of: Accept, Reject, or Request More Information. If the approver requests more information, the initiator updates the Nintex form and resubmits it. It loops back to the original Flexi Task. But it stalls there. I'm fairly new to Nintex, but I've been troubleshooting with my IT department and we can't figure out why it keeps stalling at this step. Any ideas?
I've attached the workflow history log and the Flexi Task settings.
I only added the log history action to try to capture what the flexi task issue might be. The flexi task issue was happening before I added that in. The same issue occurs if I remove that action. Is there something else that could be causing this error?
Sorry, I overlooked your other comment. What do you mean that a state machine needs to be ended before a workflow ends? How do I end a state machine? Doesn't it just flow to the next state? Sorry if that's a dumb question. I'm fairly new to Nintex.
@OSuzanna ....there is an option in change state action called "End State Machine". Also, I noticed that you're using multiple update items (one after another) in a single branch. Are you updating different list or same current item?
@kunalpatel So should I add a second state machine after the first in each branch? The first would direct the workflow to change the state and the second would end the state machine? Like in the image below:
If not, when do I end the state machine?
As for the multiple update items, each one updates a different field in the Nintex form. One updates the Last Task Respondent Display Name, one updates the status to Pending, and one updates the date when the action was executed.
@OSuzanna ......each branch within the state machine should have 1 change state. Either you'll be changing the state and moving to another branch or it's not changing the branch. If the branch is not changing the state to another branch then you should end the state machine in that branch.
The good thing about update item is you can update multiple fields with 1 update item. Just select all the fields you're trying to update from drop down and udpate them as per your logic.