Archive for the ‘Workflows’ Category
System.InvalidOperationException: Correlation value specified does not match the already initialized correlation value on declaration workflowToken for activity
Posted on: November 1, 2011
- In: .NET | Sharepoint 2010 | Visual Studio | Workflows
- 1 Comment
When you are setting up a workflow using Visual Studio, and configured the wrong Correlation ID for an activity you can encounter the above error.
For example Workflow Start -> Script Task -> Send Mail. Send Mail should have the Correlations as Workflow start intsead of Script task. Script cannot be a parent for Send Mail.
Yes, we can have configuration values in OWSTIMER.CONFIG under 12/14 Hive/Bin.
SharePoint timer job is the one which is responsible for running the workflows which are setup.
http://msdn.microsoft.com/en-us/library/cc406686(v=office.12).aspx
Above link will explain more about custom timer jobs and also talks about OWSTIMER.CONFIG.