I have been having trouble with my workflow all week. Each time I narrow the problem down it is an improper reference to a token. Each time I fix the reference, it reverts back again breaking the workflow, just like a ghost in the machine.
I finally determined what causes it, any change to the XMLPath Expression causes references to the tokens from other activities to change. All references to your XMLPath activities reference the last token instead of what you defined.
Here is an example of where I want to get the DocumentID, but after updating the Expression, it wants to get the DocumentTypeName. Why is this?
I backed up the workflow and moved it from the 10.4.3 customer environment to my local 10.4.1 dev environment and the exact same thing happens.