Tuesday, September 25, 2012

Write to workflow history list state machine workflow sharepoint 2010 C# code

void WriteToHistoryList(string comment, string outcome)
            SPWorkflow.CreateHistoryEvent(workflowProperties.Web, this.WorkflowInstanceId, 0, workflowProperties.Web.CurrentUser, new TimeSpan(), outcome, comment, "");

No comments:

Post a Comment

SharePoint document metadata not updating

I faced a weird issue today, Metadata for document which has lookup column was not updating even after saving the item. There was no erro...