problem when persisted workflow is changed

Aug 18, 2010 at 7:44 PM
I'm having problems when I make changes in my state machine. In an environment already existing workflow instances running and I apply a change in the structure of state machine, the instances stopped working, returning errors like "System.Activities.ValidationException 'Literal <String>' is not of type ' InternalState '. When loading this instance you must Ensures That activity with the name 'Literal <String>' implements 'InternalState'.. "How workflow is expected to behave in this situation?
Jan 25, 2011 at 12:59 PM

Just fyi for someone else having a problem in the future.

I found the trick here is to reinitialize the workflow instance store.

see the note here for more info:

Feb 8, 2011 at 9:17 PM

I discuss this problem in the PDC10 Video Windows Workflow Futures at about 41:30