We have two event driven activities in our state machine work flow. One is "onWorkflowActivated1" and other is "onWorkflowItemChanged1".
"onWorkflowActivated1 " CorrelationToken is set to "workflowToken" and "OwnerActivityName" is "Workflow1" (which is the name of the class) . If we keep same settings in "onWorkflowItemChanged1", workflow fires when item metadata is changed but is also fires
"onWorkflowActivated1".
What should be correct Correlation Token settings of "onWorkflowItemChanged1"?
We have tried following settings but not working:
CorrelationToken = "workflow_Token"
OwnerActivityName = "Workflow1" (name of the class)
CorrelationToken = "workflow_Token"
OwnerActivityName = "WaitingState" (name of the state containing "onWorkflowItemChanged1" )
Result of both activities is that we can "In Progress" status of workflow.
Any help?
http://farhanfaiz.wordpress.com