Task Reassignment

Oct 13, 2008 at 4:49 PM
I tried to reassign the task as you descirbed in previous discussion. But it give me "error in workflow".

Workflow has
Create task
Check if task is completed
    1. if task is not completed, check if task assignment is changed
   2. if task completed , end task.

I am uing    onTaskChanged,

updateTask.

 


My requriment was that administrator can reassign the task in case assignee is out of office.


Thank you.
Coordinator
Oct 14, 2008 at 10:24 AM
I understand your scenario, I was trying to describe how the end user could reassign a task but you are talking about a administrative routine.

The task itself is a SPListItem (SPWorkflowTask) in a SPList, you could use a SPListItem.SystemUpdate for all the tasks matching that user
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.systemupdate.aspx

Also look into SPWorkflowTask

Regards,
Daniel Karlsson