When I use the "Impersonation Step" in SharePoint Designer the workflow will use the credentials of the user who published the workflow instead of the user who started the workflow.
After I migrate to claims an error occurs and the workflow terminates. I have to re-publish the workflow to get it running again.
Error from SharePoint log:
12/09/2013 13:32:02.96 w3wp.exe (0x0DDC) 0x21EC SharePoint Foundation Workflow Infrastructure 88xr Unexpected WinWF Internal Error, terminating workflow Id# 2b7def0d-046f-4c85-bf5d-5b2f51134754
12/09/2013 13:32:02.96 w3wp.exe (0x0DDC) 0x21EC SharePoint Foundation Workflow Infrastructure 98d4 Unexpected System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.Workflow.SPWinOEWSSService.GetWebForWorkflow(SPWorkflow wf, SPWorkflowUserContext runAsUser) at Microsoft.SharePoint.Workflow.SPWinOEWSSService.get_Web() at Microsoft.SharePoint.WorkflowActions.WorkflowContext.get_Web() at Microsoft.SharePoint.WorkflowActions.Helper.GetFieldValue(WorkflowContext context, Guid listId, SPItemKey listItem, String fieldName, SPFieldType& type) at Microsoft.SharePoint.WorkflowActions.Helper.TestListItem(WorkflowContext context, Guid listId, SPItemKey listItem, String fieldName, String comparison, Object value) at Microsoft.SharePoint.WorkflowActions.Helper.TestListItem(WorkflowContext context, String listIdOrName, SPItemKey listIt...
12/09/2013 13:32:02.96* w3wp.exe (0x0DDC) 0x21EC SharePoint Foundation Workflow Infrastructure 98d4 Unexpected ...em, String fieldName, String comparison, Object value) at Microsoft.SharePoint.WorkflowActions.WithKey.WaitForActivity.ConditionNotTrue(Object sender, ConditionalEventArgs e) at System.Workflow.Activities.CodeCondition.Evaluate(Activity ownerActivity, IServiceProvider provider) at System.Workflow.Activities.WhileActivity.TryNextIteration(ActivityExecutionContext context) at System.Workflow.Activities.WhileActivity.System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>.OnEvent(Object sender, ActivityExecutionStatusChangedEventArgs e) at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime) at System.Workflow.Ru...
12/09/2013 13:32:02.96* w3wp.exe (0x0DDC) 0x21EC SharePoint Foundation Workflow Infrastructure 98d4 Unexpected ...ntime.Scheduler.Run()
Thanks, Ron