problem when persisted workflow is changed

Aug 18, 2010 at 8: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 1: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: http://msdn.microsoft.com/en-us/library/ee395773.aspx

Coordinator
Feb 8, 2011 at 10:17 PM

I discuss this problem in the PDC10 Video Windows Workflow Futures http://player.microsoftpdc.com/Session/3b87c17b-a218-40d3-984f-78a012331dee at about 41:30