Each receive activity has its own correlation, yet I still got the error.
Here is a brief description of the workflow.
Main workflow: Process -> Receive(StartProcess), create instance & generate PID as correlation -> ParallelForEach, taskID 1 to 10, run(Task Workflow) -> Complete
Task workflow: InitCorrelation(PID, taskID) -> Receive(CheckReady) -> Complete.
When the workflow starts, I will keep getting this error:
System.InvalidOperationException: A bookmark with the name 'CheckReady|{SPOC}ITaskMgmt' already exists.
I am under the impression that as long as the correlation is set correctly, this should work. Any ideas?
Thanks!