Search This Blog

Friday, January 25, 2008

Updating a workflow from custom code / Trigger ontaskchanged from code

At times there is a need to update workflow task items in Workflow Task library in SharePoint site thru custom code. The key line of code to make that update and hence force a ontaskchanged event fire is :

workflowItem["Completed"] = true;
....

No comments: