August 19
Step by Step Tutorial.Creating workflows with Windows Sharepoint Services and MOSS 2007(Part 16/20). Assign a workflow task to a group of users
Introduction
A very good practice in software is to work with roles instead of working with individuals.
I’ve often noticed in the Sharepoint newsgroups that assigning a workflow task to a group seems to be a popular question.
First off you cannot assign a Task to Active Directory groups, but only to Sharepoint groups !
Hands-on
- Create a new group, name it MyApproverGroup, add several users; give this group the Contribute permission.
- Rebuild your solution, and start Install.bat; make sure the feature is activated in the site collection features, create a custom list, associate the workflow with the list and start an instance of the workflow and check the task list : indeed, a task has been created by the workflow and assigned to the MyApproverGroup.
- Login as one of the group user :
- Go to the task list and change the view to “By My Groups”, the new task shows up :
Congratulations !