views:

833

answers:

2

I am new to MOSS development and while I'm learning it I have a problem waiting to be solved.

We are using the standard approval workflow in one of our test sites just to get the feel of the approval workflow. We have the standard approval workflow in place and working but what has become more desirable is to have the document set to readonly mode after its approval.

What should be my approach to configure/implement this feature?

+3  A: 

Custom ItemUpdating event handler on the workflow task list - check the status of the task, and if it is Approved, get the Item object through the task workflow association and adjust permissions on the Item.

Ajay Nayak
A: 

Or you start a second workflow - depending on the approval workflow outcome. Create a SharePoint Designer Workflow using the custom activities to set the item permissions.

To set the item permissions download the Useful Sharepoint Designer Custom Workflow Activities

The advantage of this approach is, that you do not need to write code to create an Eventhandler.

Henrik