I just edited a workflow and tried to save it overwriting the previous version and I started getting this soap error: soap:ServerServer was unable to process request. ---> An item with the same key has already been added.
I've renamed the workflow that didn't work. Exported the workflow and then created a new one and imported it back in, and it didn't work.
Solved! Go to Solution.
I would say its a feature issue and you should verify that the features are activated on Site and Web for Nintex. But it also seems that you have been doing a few workflows. Are any other workflows working; able to edit; running fine?
Then maybe it is an action in the workflow itself that is causing this. This may be why exporting and importing into a new one still has the issue (which is a good test, I would have done that myself too). How big is the workflow to start over a section at a time?
It’s fairly good size. That’s why I exported it. Could it be because I have a State Machine basically within a State machine? I have an action set I use quite a bit for Accounts Payable workflow, but I used this action set that contains a State Machine and placed it within another State machine. Which looks like it should work fine, but ever since I did that it seems to be acting screwy. I think I will reboot the WFE server tonight first to see if there isn’t something funky going on that I’m not seeing.
I found this online, did you happen to copy a state machine and paste it within the same workflow?:
This issue occurs when you are copying actions such as state machine actions or switch actions. Each of these actions have unique values for the separate branches, which Nintex uses to determine which branch needs to be executed,
If you copy these actions then the unique value will also be copied. To avoid this issue please recreate the actions manually and avoid copying any state machine or switch actions.
Just create a new State machine, but then copy all the actions inside of it.
See if that works.
Something else I just learned. If you copy each action from within each State of the State Machine you must remember to remove the Change States and add new ones in. It will not allow you to publish the workflow if you copy the Change States from other State Machines.