.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 group

Posted By:      Posted Date: October 16, 2010    Points: 0   Category :SharePoint

Hi every body

I have a group with name office manager and A,B users are memebers of this group.
I create a tasklist with name WORKS,When i assign a task(work) to office group,
I expect that it could be seen in tasklist of A and B ,but it didn't.
I don't know either my expectation is wrong or i should do some thing for this action.

Thanks for any guides

regards Ali

View Complete Post

More Related Resource Links

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



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?


Sharepoint 2010 WorkFlow Task AssignedTo Windows Group doesnt send email notification

Hi, Which configuration would prevent sharepoint to send a notification when a workFlow task is assigned to a Windows Group with an email ? The same task with a single User send a notification. Thanks, Patrice      

Is there a way to assign a "USER FRIENDLY" name to an "ASSIGNED TO" TASK List?

I'm starting to develop simple TASK lists, to assign tasks to a team.  Unfortunately, I'm finding that the ASSIGNED TO field wants to populate user names with a NETWORK-Style name (i.e.,  mycompany.com\jsmith  ), instead of a preferred user name (i.e., John Smith).  The descriptive user name DOES show up for a few users, but not most. I figure that there must be something buried in some user roles/permissions, at some level - but I am still having problems with navigating around the Sharepoint neighborhood to find the options that I want (if they exist). I'd very much appreciate assistance with something that could, I hope, be rather simple. Thanks,

SP-Designer Workflow Task assigned to a Security Group Problem

Task assigned to a Security Group Should be Filter basic on Show items only when the this conditon is true: "Assign To is Equal to [Me]" This above condtion shows my task only , not all task. So How i ve to make following Condition in it. "Assign To(Security Group) Contains [Me](currnt loged user). Actually Problem is that workflow is assinging a task to a GROUP( having a lot sharpeoint users) , if i m the current user(exists in that group) then i shud get the my task only ,which is assigned to me only , nothing else user's task. So pls help me. Thanks in Advance.Regards- Sharad

How to do a <> Select Query, and assign results to a Group 'Other'


How can I use this in a Select Query?
<> "*" & "Internet" & "*" Or <> "*" & "Old Customer" & "*" Or <> "*" & "Reference" & "*" Or <> "*" & "Saw Trucks" & "*" Or <> "*" & "Y/P" & "*" I want to group all the results (named count) and call the result 'Other'

Here’s my SQL now:

SELECT DATABASE.[LEAD FROM], Count(DATABASE.[LEAD FROM]) AS [Count of Leads], DCount("*","[DATABASE]","[Lead From] = " & Chr$(34) & [Lead From] & Chr$(34) & " AND Database.[Appt Date] >= #" & DateAdd("d",-7,Date()) & "#") AS [Last 7-Days], DCount("*","[DATABASE]","[Lead From] = " & Chr$(34) & [Lead From] & Chr$(34) & " AND Database.[Appt Date] >= #" & DateAdd("d",-30,Date()) & "#") AS [Last 30-Days], DCount("*","[DATABASE]","[Lead From] = " & Chr$(34) & [Lead From] & Chr$(34) & " AND Database.[Appt Date] >= #" & DateAdd("d",-365,Date()) & "#") AS [Last 365-Days]



Active Directory Role base task Assign



We want to assign a task to ‘HR Manager’ for example, HR Manager is John at the moment, but after a week Peter become to company and is now ‘HR Manager”


We want that task be visible to Peter instead of John, without any change on SharePoint or Task assignment.



How we should implement this requirement.

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

How to determine the user that completed a task when the task is assigned to a group?

I am using collect data from a user in a custom workflow.   I am assigning it to a group.   Where is the user stored that actually completes the task?

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.

How to create a custom group and assign it to a list inside a web?



i need to create a group programmatically and assign it to a list inside a website. How to achive this?


Best regards,
Yavuz B.

My Sharepoint and Enterprise 2.0 Blog http://www.starcoder.net
Microsoft Sharepoint Resources & Blogs List | thumbnailPhoto Tool for editing Active Directory User Profile Image

Assign task to multiple users after workflow approval


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!

Site Administrator cannot assign user or group to pictures library or to any library permissions pag



        I have number of Mysites and in each mysites i have given same user has site administrator. I observe that in few Mysites, Site administrator user, though got full control permission, cannot assign users or groups to picture library or any library in the library permissions page. We see only few options in tool bar of the library (i.e no UPLOAD menu etc) where as in other mysite for the same user we can do what ever we want to.

         Would anybody please let me know what the cause for this behavior?


Chegondi Rama


Problem to group radio button across gridview rows

In general no one can easily group or make a single selection from radio button list inside gridview rows. There are a lot of way to make a single or unique selection from list. Here i want to share how i can address this problem in the most easiest way. Googling the problem most of the cases i saw the grouping in horizontal way. Thats why i tried to group the radio buttons in vertical manner. Let i have a requirement like below:

Group Calendars in SharePoint 2010

One of the many requests I had in SharePoint 2007 was the ability to place SharePoint Calendars on top of each other like you can in Outlook 2007 saving you having to look at each and work out when the best time is for a meeting.

ListViewControl - how to group items by their value, for eg. date range



I have a table containing courses, columns are 

Name - "Yoga Classes"

DateStart - "2/23/2010"

DateEnd - "2/24/2010"

I am using ListView Control to bind it, is there a way to display them and group them by Month? 

for eg.


Piano Class (10th Jan 2010 - 11th Jan 2010)
Guitar Class (10th Jan 2010 - 11th Jan 2010)


Yoga Class (15th Feb 2010 - 16th Feb 2010)

Thanks for help.

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