public Guid updateTask1_TaskId1 = default(System.Guid);
public SPWorkflowTaskProperties updateTask1_TaskProperties1 = new Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties();
private void updateTask1_MethodInvoking(object sender, EventArgs e)
updateTask1.TaskProperties.Title = "New Title";
updateTask1.TaskProperties.Description = "New Description";
I've searched and searched and heard a lot about things such as OnTaskChanged.AfterProperties" and "UpdateTask.TaskProperties" bind to the same object, but have no idea how to change that.
In my sequential workflow's design view (VS 2010), I have a onWorkflowActivated1, followed by onTaskChanged1, and then an UpdateTask activity. My goal is to update the task title and description to a specific text whenever a task is added or updated. There's
no practical purpose in doing this, but I just want to see it working.
View Complete Post