.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

Assigning users when creating a list item in a workflow

Posted By:      Posted Date: August 26, 2010    Points: 0   Category :SharePoint

I'm using a workflow to assign tasks to users.  When I try to assign the task to a group (set in the workflow designer), the workflow gives me an error.  When I change the assign to property to a single user, the workflow works perfectly.  How do I get the workflow to assign the task to the group?  Or if that's not possible, can I get it to assign it to more than one user?


View Complete Post

More Related Resource Links

Creating item in discussion list via Workflow.

I have a custom list that starts a workflow when a new item is created.  This workflow creates a new item in a discussion list.

When you click on the new item in the discussion list it displays the page with the Edit Item link at the top.  You do not get the discussion board looking view.  If you attempt to reply, a new top level item is created with "(no title)"and the "Replies" count stays at zero for the parent item.

If you create the discussion manually by clicking "Add new discussion" everything looks and functions as expected.

Any help is greatly appreciated!


When I use the Action "Create item in list" it's using the content type of "Message" when it should be "Discussion."

How do I specify the content type?  Im using Sharepoint Designer to create the workflow.  Yes "Discussion" is the default content type in the list.

Attach Workflow to Task List, don't get option to manually start workflow via dropdown on task item



I am running WSS 3.0 with other workflows which are functioning correctly.  I created a new workflow in Visual Studio 2008 and was able to successfully run it in my dev environment.  I attached the workflow to a task list in my dev environment and was able to manually start the workflow by using the drop down workflow option and using the menus to manually start it.  I installed this workflow in our production environment and attached it to the task list (which had a SPD workflow attached to it which stopped working about a month ago).  I made sure that the option to manually start the workflow was checked.  When I tried to manually start the workflow, (hover mouse over title, drop down) there isn’t a workflow option.  The workflow also will not start automatically when a task is changed.


I attached this same workflow to a different task list in production and get the option to start it.


I have tried creating a small workflow in SPD 2007 and attaching it to the task list.  It shows that it is attached, when I look at the workflows that are attached to the task list, but I still don’t get the option to manually start it.


I have checked my security and I have fu

Workflow Task And Relevant List Item


Hello there...

1. What is the name of  the field thats connect between the task item and  the list name or guid and the list item id or guid

2. SPD: how can when starting the workflow how can i ensure that the initial form variables will be saved at the workflow task list

Many Thanks



Updating a List item field value in a SPD Workflow is setting Date fields to null

Hello everybody,I faced a very weird behavior while creating a workflow in SPD against a Document Library.Here is the case:1- Create a document library in sharepoint site.2- Add a custom column of type DATE.3- Upload any document to the library4- Edit the item metadata and set the custom date field to any date you want.5- Now using sharepoint designer, create a very simple Workflow with only one action that updates the current item "Title" field to any value. (Note: In my case I set the workflow to start manually and not automatically)6- Save the workflow and then start it on the uploaded item.7- Now check the value of the date column after the workflow is finished.8- You will see that the Date field is Empty... (very weird)Notes:   1-This behavior will not appear on a standard list. it is only appearing in a Document library.  2- I am using WSS 3.0 SP2 + MOSS 2007 SP2. Also SharePoint designer 2007 SP2Did anyone face this situation and does it have a fix, or am I doing something wrong here... Please help.Regards,Maheed

Error creating Read Item or Read List operation in Sharepoint Designer 2010

In terms of high-level requirements, I need to pull in lists from a couple of different web apps.  To do this, I’m using SPD 2010 to create an External Content Type for the list of interest.  I’m able to create a SOAP Service or WCF Service connection just fine.  However, when I try to create the external content type and create a Read Item Operation on one of the GetList or any other Get* (or other Update methods for that matter) methods, I get the following error:"The method that your operation is based on has parameters with complex types that do not have default parameterless constructor.  This kind of data source methods cannot be used in Business Data Catalog."I tried defining an operation on the “AddAttachment” method, and that worked just fine.  I also tried providing default values to the listName and viewName parameters when creating the SOAP Service connection, but still get the error.  Same issue with a WCF Service connection as well. Does anyone know if this is a 2010 issue, or am I approaching this requirement incorrectly?  What are other approaches for connecting to lists that reside in a different web app than yours? 

Assigning a reusable workflow to all content types in a list in one operation?

When creating a reusable workflow I choose a base content type. I would really like to assign this workflow to the content type at site collection top level and get it to automatically work in all lists that include this content type, and also have it set to work for all children of this top level content type. It seems to me that I have to manually associate this workflow to all lists and content types? I am missing something here? Henning

Workflow - automatically create discussion item using title field of of custom list item as its subj

Anyone any ideas as to how I can configure SharePoint to create a discussion item using the title of a list item. e.g. user creates list item on a custom list - SP automatically creates a Discussion thread for this list item in the discussions list. I'm guessing this can't be down OOTB . would I be looking at SPD or a coded solution ? regards, Counie

Cannot access Workflow from List Item menu: "Value does not fall within the expected range."


We are using Sharepoint 2007 sp2.

I am using Sharepoint Designer 2007 to create workflow for some List, suddenly I cannot acess some list items' workflow,and was informed  "Value does not fall within the expected range." , but other items are all ok.

I don't know whether this is concerned with the service pack 2, I installed sp2 yesterday.

The page cannot be displayed error when creating new item in custom list


Hi i am workign with a cutom list and every time i try to add a new item and hit ok i get the error shown below. Sometimes it happens and other times it doesnt and it only happens with a select few. One way of getting around this error is to not edit it on the page on which it is on but to go to view all content then to the custom list.

I have tried observing whether there was an issue with the pages being checked in and checked out but all pages were checked in and published. I tried deleting and recreating the custom list and no luck. Your feedback would be much appreciated! Thanks in advanced

btw i am a user with full control and our site is being hosted.

The page cannot be displayed


update item in list by workflow on list in other site



is it possible to update/insert item in the list of other site (other then the site on which workflow is running)?

Please advice.


Workflow does not run when list item updated with MS Access



I have created a workflow in SharePoint Designer 2007 that copies the list item from one list to another archive list. The workflow is copies the list item when a field is updated to archive. This works fine when updating the list item within SharePoint.

the list is also linked to a Microsoft Access database, the workflow does not even start when updating the field within Access. Can anyone tell me why this is and how I can get the workflow to start when updating the list item with MS Access?

MOSS 2007 version



Create workflow to create list item in calendar list of a DIFFERENT site collection


I work for a school district.  Each school has a SharePoint calendar.  We set up each school as its own site collection.  I would like to create a workflow that would send their calendar events to a district calendar, which is also its own site collection.

Example,  School A enters creates a new item on their personal school calendar.  They click YES in the column called SendToDistrictCalendar.  The workflow would be triggered to create this same item in the district calendar (which is in a different site collection) when SendToDistrictCalendar is checked YES.

We're using Windows Server 2003 with Windows SharePoint Services 3.0

I am a mid-level SharePoint user.  I would appreciate ANY and ALL help to make this work!!


Email from an SPD workflow in one list not creating entry in another email-enabled list



  • 2003 AD domain
  • MOSS 2007 on Server 2003 R2
  • Single Exchange 2003 Server
  • SPD 2007
  • Custom List AA with Title and Body (plain text) fields only
  • Announcement list BB; email-enabled as  bb@sharepoint.mydomain.com (Accept email from any sender)


When an item is manually created in AA an SPD workflow on custom list AA sends an email to bb@sharepoint.mydomain.com. Since BB is an email-enabled list, a list item should be created in BB. However, no list item is created in BB, even though it appears BB should be receiving the email.


  • If I manually send an email to bb@sharepoint.mydomain.com from my workstation then a list item is created in BB. So,we know the email-enabling is working on the BB list and the Exchange<->MOSS connection is working correctly.
  • Exchange server Message Tracking shows that the email from the workflow is reaching the Exchange server and is being sent to the MOSS server, as expected.
  • SMTP logs on the MOSS server show the workflow email is being received from the Ex

List Item is not visible to specific users in a webpart in my portal



There is a webpart which is displaying the items from list.There is another webpart which also display same items as in the above webpart.

Issue: Now the issue I am facing that the list items are not visible to specific users even though it is visible to same users who are in the same group. But this issue I am facing in production environment but not in staging environment.

Your quick help will help us a lot.



Copy List Item in SPD 2010 Workflow Fails if Check Out/Check In Required


I've seen this issue on 3 different Sharepoint 2010 implementations, including upgrades and fresh installations...

The workflow, which works fine in WSS 3.0/MOSS, operates on change of a document.  Workflow reviews a specific column and based on contents of that column, it checks out the document, copies the current item from the current library to another library in the same site and then deletes the item in the current library.

In SharePoint 2010, the following occurs.  Again, this occurs in the upgraded workflow as well as in a brand new workflow created with SPD 2010 on a site that blank / not upgraded.

  • Workflow starts on an item that is verified to not already be checked out.
  • Document is checked out
  • Document IS copied to the other library
  • Workflow fails and is canceled with the following errors:
    The workflow could not copy the item. Make sure the source and destination lists have the same columns and column settings.  (They do.)
    The workflow operation failed because the action requires the document to be checked out. (The item is checked out by workflow - as is evidenced by the fact that the item is still checked out after workflow fails.)
  • RESULT:  the copy operation does work, workflow thinks it doesn't and fails on that step, item is not deleted

I've tes

how to update sharepoint list item instead of creating a new one


hi guys,

i was working on a webform on asp.net, it has a list to save users information. the system has a "profile manager", it has user's loggin name. so i made a query to check if it already exists in the list, and then prepopulated the information on the form(in page load).

what i want is that if this item already exists, it can update the item. if it is not in the list, it will then create a new one.

i was searching around, and changed my code accordingly. but it always create a new item, even though all information is the same.

here is my pageload code:

public class TTCVIP : System.Web.UI.UserControl


  protected GenericWebPart webpart;

  StringBuilder _exceptionMsg;

  bool _hasException;

  #region member controls



  //rendering the page

  private void Page_Load(object sender, System.EventArgs e)



   SPSite mySite = SPControl.GetContextSite(Context);

   SPWeb myWeb = SPControl.GetContextWeb(Context);

   ServerContext context = ServerContext.GetContext(mySite);

   UserProfileManager myProfileManager = new UserProfileManager(context);

   string CurrentUser = Context.User.Identity.Name;

   UserProfile myProfile = myProfileManager.GetUserProfile(CurrentUser);         


   //check if list exist and create new list 



    if (!IsPostBack)



How to Create Sharepoint Workflow (designer) on Calender List when a new list item is created



I need to create a sharepoint designer workflow on Calender List.The functionality is that, Workflow on Calendar list that sends an e-mail notification each time new event is created along with event details.

Any help appriciated..



Srikanth Reddy


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