Tag Archives: Workflow

Validation of viewstate MAC failed in AddWrkfl

I recently added a delegate control to a SharePoint solution. The delegate control was used to dynamically insert a custom user control into the master page. Part of the functionality of this control required the use of hidden fields. Everything … Continue reading

Posted in SharePoint, Workflow | Tagged , , | Leave a comment

Task locked by Running Workflow and Cannot be Edited

If you’re trying to update a task item that is linked to a running workflow using code similar to public UpdateTaskItem(SPList taskList, int identifier, string newValue) { taskItem = taskList.GetItemById(identifier); // Update task item taskItem["fieldname"] = newValue; taskItem.Update(); }public UpdateTaskItem(SPList … Continue reading

Posted in SharePoint, Workflow | Tagged , , | Leave a comment

Workflow Activity – Part 2

This is the second part of the custom workflow activity creation tutorial. For the first part please go here. Now that we have a workflow activity defined, the next step is to add a new project to Visual Studio.

Posted in SharePoint, Workflow | Tagged , , | 3 Comments

Workflow Activity – Part 1

The object of this post is to provide a walkthrough on creating a custom workflow activity for SharePoint 2010 and deploying it as part of a custom sequential workflow. Start by creating a new empty Class Library project.

Posted in SharePoint, Workflow | Tagged , , | Leave a comment

External Participant for Task Items

If you’re wondering why you get (External Participant) appended to tasks created with the CreateTask and CreateTaskWithContentType workflow activities and are investigating why it appears that the person who was assigned the task is being marked as an external participant, … Continue reading

Posted in SharePoint, Workflow | Tagged , | Leave a comment