.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Assign task to multiple users after workflow approval

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :SharePoint

What I'm looking to do is after a document has been approved through a workflow, I want a task to be automaticly sent to multiple users to ensure that everyone has reviewed the document. It needs to be a single task that is not completed until each person has signed it off. Is there an easy way to do this or is it going to involve some extra programming? I am a very novice user when it comes to sharepoint so any advice is apperciated.

Thanks in advance!

View Complete Post

More Related Resource Links

Assign sharepoint workflow task to multiple users/groups




I need to assign workflow task to multiple users or groups based on the user department in the active directory. I am trying to use the AssignedTo property of the SPWorkflowTaskProperty to achieve this but don't know how. I tried to put multiple user ids in the sting separated by ";", but this is not working.


Any suggestions are appreciated.

SharePoint Designer workflow task - problem with multiple users selector in InfoPath form




I have got an issue with InfoPath form generated for my SharePoint Designer workflow task. There is a multiple users selector that requests users from a task assignee. The problem is that only the first user entered got saved.


I am using SharePoint 2010 Standard Server (release). Steps to reproduce are the following:

Approval Workflow - Assign task to a SharePoint Group



I have created a oob approval workflow and upon requirement, need to assign the task to a group of people, so created a SharePoint group under that site and selected this group under approvers. Selected assign single task to each group entered (do not expand groups) as this is what I need exactly. One person in that group is going to approve the task and the remaining members will work as backups that means for some reason the first person is not available for approval any one from the rest of the group will claim the task. When I test this, SharePoint is sending the first email stating workflow has been started and then another mail with the task to approve and the final email saying workflow is completed after completion of all tasks. These 3 emails are expected until now, but sharepoint is also sending two more additional emails even after completion of the task saying 'Task has been changed' to all the members in the group, these two are not needed in any way as workflow has already been finished. Not sure why these additional email alerts are triggering. Users will be annoyed to see all these unnecessary alerts if this is how it works.

Any idea on how to fix this?


workflow approval multi users

I whant to build a workflow, 2 or more users must recieve a mail that there is a new document to approve. but when 1 user approved it, the workflow must end. and the approval from the other users must end olso? is this possible, i think i'm missing something. can it also be done with desigener or visual studio? regards

Approval workflow is not passing task instructions to workflow task page (WrkTaskIP.aspx)

Hi, Very weird issue. Never happened before. I have Document Approval workflow, based on built-in approval workflow, which is available in document libraries of every site in the site collection. You might know that when you kick off approval (even collect feedback) workflow, you can enter task instructions, which will be passed on to the workflow task page (WrkTaskIP.aspx), and also included in the email, which will be sent to approvers (reviewers in case it is a collect feedback workflow). I know that the users used to enter task instructions, and before, it was appearing in the workflow task page where you approve/reject it. Recently, they noticed that the task instructions textbox was being empty, though the instructions were being entered when the workflow was started. Moreover, it stopped showing task instructions for other tasks that existed for a long time. BTW, this is not the same in every environment we have, but I could not find any difference in the settings when I compared them. Has anybody faced this problem? Please help if you know the solution. Thank you!!! Regards, R.D.M.

OOTB Approval Workflow SharePoint 2010 - Blank "Requested By" field appears in Task Item edit/view f



I am having a simple OOTB  approval worflow associated to the simple document library. Task is created when an document is uploaded to the library.  When I click the task item in task list, I see a blank field "Requested By"  right below the "Status" column and I am unable to understand from where this field is coming and how to populate this field. Any help would be great...

Update Approval Workflow task status


Hello All

I am trying to update the task status automatically after a list item is approved without much luck. I need to set the task status to "completed" without having to manually hitting the "complete task" button, so the next person in line can approve the list item.

How can I change the status of a task using SharePoint Designer 2010?

In my SharePoint Designer task editor I have:


if Current Item:Approval Status equals 0;Approved

---I need to add a line in here that updates the task status to "completed"

Assign Approve list item to User2



Thank you all in advance.



Approval Workflow : Getting the name (or unique ID) of the item being approved in the infopath Task


I need to display the name/title of the item being approved in the infopath task form that is viewed by the approvers. How can I achieve this? The data fields in the Primary data connection seem to correspond to task item and not the item being approved itself.

Thanks in advance!

SharePoint 2010 Approval Workflow email is not showing link to Workflow Task list



I have created an out of box Approval workflow in SharePoint 2010. I am receiving email with below information

Task assigned by Chinna Malipedu on 10/7/2010.

Due by 1/1/0001

Approval started by Chinna Malipedu on 10/7/2010 11:43 AM
Comment: Approve



To complete this task:
1. Review SharePoint2010.
2. Perform the specific activities required for this task.
3. Use the Open this task button to mark the task as completed. (If you cannot update this task, you might not have access to it.)

But I need to go to Workflow Task List by clicking 3 item "Use the Open this Task" , this is not a link here

or I want like "Edit this task to mark the task as completed."  Edit this task should link to Task List

How to do this? do i missing any configuration?

I have successfully done the same  in MOSS 2007.                                                               Is there  any extra&n

Sharepoint 2010 Approval Workflow "Open this task" link not functioning


When I am clicking on "Open this task" link in outlook 2010 i am getting error as "Access to the floowing form required". Please help me out to resolve the issue..






Copying approval from Workflow task to List Item.


I have a system for entering info into sharepoint.  When the info is first entered, the list info is sent to the manager for approval using the workflow approval process.  This work, the email goes through, and then is approved on the workflow, but we have the require content approval checked, and this approval stays on pending.  I am trying to do a look up on the task list, and then approve or reject based on that.  It is not working.  The If statement always is ok, and then it is approved, even if i set reject.  Can anyone help me with this?


For the workflow lookup, the Field Data to Retrieve is

DataSource is the Tasks list for the workflow

Field from source is Approval Status


The Find the list Item is

Field is Workflow Item ID

Value is Current Item:ID


I am using this info to try to pull the approval status of the workflow and then based on

that set the approval of the list item.



How to assign values to workflow task person or group custom field?

Using visual studio 2008, in createTask_MethodInvoking, I have the following code. RequestFields has the values from the InfoPath form. ApprovingPersons is a person or group field, added to the task list by my custom task content type. I checked the task list associated with the workflow and I see the custom field.

SPUser user;
SPFieldUserValueCollection fuvc = new SPFieldUserValueCollection();
foreach (Contact person in RequestFields.Persons)
      user = workflowProperties.Web.EnsureUser(person.LoginName);
      fuvc.Add(new SPFieldUserValue(workflowProperties.Web, user.ID, user.Name));

// this is the line causing problem, I believe
PreApprovalTask_TaskProperties.ExtendedProperties["ApprovingPersons"] = fuvc;

I got the following error message:

at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] argument



problem in task assign workflow in Sharepoint Designer ?


I have created workflow in spd 2007 .

i have created two group in AD - one is Users other is Approver.

when i write " If createdby equals Users  set assigned to to Approver " this condition task can not assign to Approver .

plz tell me how it is possible...

Sharepoint 2007 Workflow sometimes does not assign a task



We created a workflow in SPD that would assign a task to a set of individual users depending on a creteria when a users adds a document to a doc lib. It gets the users from a list and depending it could be a user or a few users. Now the workflow will sometimes work 100% and sometims it will send the task but the assigned to field will be blank. We try run the workflow a few minutes later on the exact same scinario and the workflow works fine. We are running MOSS 2007 with SP2.

I have tried putting pauses in and this did not help much either.

The process is as follows.

User adds document to doc lib and it asks to fill out required info on form. The user will select a value... lets say 01 and then checkin the document. Once checked in the workflow begins. based on the users selection it will go to the list see 01 and it will have a list of users for that to assign a task to. Now most of the time the workflow works fine but sometimes the assigned to field is blank even on the same selection.

Any suggestions will be greatly appretiated thanks

assign multiple tasks to multiple users


Is there a way to create task list (or similiar maybe issues tracking list), then assign the entire list of tasks to a single user?  So if I were to add a new user to the site, I could assign a this list of Tasks to the user (Im a thinking like a templated custom list) for them to complete? I am using WSS 3.0.

I only see this as a 1 to 1 now, one task for 1 user.  I have seen where I can assign more that 1 user to a task, but the task is shared by the users.  I need the tasks to be assigned to each users separately.

Multiple Approvers Parallel Approval using Visual Studio Workflow


I have created a Custom Visual Studio WF. I have used the Replicator control and set the executionType to Parallel.As Parallel excution replicator will set the index to last. So after searching i found I need to create custom Sequence Activity and we need to place the activities there.

In my custom Sequence Activities I have placed like this


  • Create Task with ContentType
  • OnTaskCreated
  • While
  • OnTaskChanged
  • OnTaskCompleted
While contain Code Condition. I placed the custom activity in my workflow. Task is created successfully. But when the task get changed, the OnTaskChanged event is not fired. Anybody please help me.







Save Workflow Runtime as Application State or Session State for a website with multiple users?


I used Windows Workflow Foundation 3.5 as a page flow navigation for a ASP.NET website's Previous and Next page navigation.

The site acts like a shopping cart and each user has his own session and user data.  The app only has one WF.  I am not sure if I should generate one Workflow Runtime for every user or for simply generate one workflow Runtime for the entire application in my case?   

In the global.asax:

void Application_Start(object sender, EventArgs e)

void Application_End(object sender, EventArgs e)
    void Session_Start(object sender, EventArgs e)
        // Code that runs when a new session is started
        System.Workflow.Runtime.WorkflowRuntime workflowRuntime = new System.Workflow.Runtime.WorkflowRuntime(WorkflowManager.WorkflowRuntimeKey);


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend