• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 632
  • Last Modified:

How can I prevent users, which have been assigned a task from an SP 2010 approval workflow, from seeing each other’s tasks?

An out of the box SP 2010 approval workflow is associated with a document list and is started by adding a document to the list. Tasks are assigned to a group of users and stored in a task list.
Assignees are able to see all assigned tasks and can approve each other’s as well. I need to prevent this.
Item-level permissions seem to only consider the “Created By” column and not the “Assigned to” column.
1 Solution
You can use the "set permissions" activity to change the permissions to the task. When you create a task you need to put the ID of the new task into the variable and then use this id in the set permissions activity. Please keep in mind that you need to use the impersonation step.
Also, if you have a large number of tasks you might run into performance problems when setting unique permissions on items - see more details here http://wbblog.datapolis.com/2011/03/setting-item-permissions-with-workflow.html

You can avoid this by either deleting the task once it's completed or by reverting permission inheritnace of the finished tasks.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now