Sunday, July 5, 2009

Task List : Claim a task

Discovery continues with sharepoint. While working with Sharepoint Task list , I found a great functionality. Claiming a task.

How does it work:
This feature is available in a unique situation, where the task has been assigned to Group rather than to an individual.

When you assign a task to an Active Directory or Sharepoint Group, you will see an extra menu item, when you switch to Edit Item view Claim Task.When you click the above menu basically it updates the Assigned To field with your name.

Don't worry it still remembers the group behind the scene. Thats why one you claim a task , it will give you an option for Release Task, which basically reverts the change.


ariesdips April 9, 2010 at 2:06 AM  

Ya that's right, but do u hv any idea how to identify that event? I mean i want to track he event genrated while clicking on both "Assign Task" and "Release Task" button. I want to assign certain roles on that event.

ariesdips April 9, 2010 at 2:20 AM  

Ya that's fine. But can u pls tell me hw to track an event while clicking on both "Claim Task" and "Release Task". I want to give and take away some rights for the perticular list item.

Sandeep K Nahta April 9, 2010 at 2:50 AM  

You can write an event receiver to track the item change event and at that event u can control permissions also

ariesdips April 9, 2010 at 3:05 AM  

thnx for ur concern, I have an event in my custom page called "Task Changed Event"
which gets called on claim and release task i want to dynamically set permissions to claimer and remove permission to the group,

Shrikant K May 21, 2010 at 8:01 AM  

hi sandeep,

Can u tell wat type of event reciever can be used to get the claim task & release task ?

Sandeep K Nahta May 21, 2010 at 10:21 AM  

Srinkanth , you dont need to have an event handler for this

Anonymous,  August 18, 2010 at 9:02 AM  


I am trying to intercept the event that occurs when the claim/release button is fired. I want to call another method at this point. Could you explain how you were able to capture the event. So basically when a task is released, it changes the "Assigned To" value from the user to the group name. At this point I want to call another method.

Sandeep K Nahta August 18, 2010 at 9:23 AM  

Best way will over-ride the existing Action and design a new Action , which you can control fully.