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

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

collect data from user - email problems

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

I have a WF with a Collect Data from user action. It works perfectly - creates a task and sends the email.

I moved the site collection by stsadm -o restore to a different server. The Collect Data from user action fails to send the emails now - the task gets created successfully but no email gets sent.

I have added a Send email message action just before the Collect Data from user action and it just sends an email to an email address and this works fine. It just fails to send the email from the Collect Data from user action.

  • the email outgoing settings are correct and work.
  • The task list is set to send emails when an owner is assigned.
  • I am triggering the WF's using an admin account, so I have Full control permission
Is there anything else it could be?

View Complete Post

More Related Resource Links

Linq - add data to database then email user the details


Hi all

I'm not sure how to structure the code for this but what I want to do is be able to add data to a database, and once this has completed successfully, then email the user to say the details have been added successfully to the database.

I need to:

1. Check that the relevant data has been added into the database then

2. Email the details of the relevant data when completed. 


Thanks in advance for your help,




Send an Email with User fields data entered in the form


Hi All,

          I have a form which have some user input fields(like textboxes,dropdownlists,textarea etc) fields and a submit button.

on click i need to send email with body contents as all the details entered by user in the form

Can anyone suggest how i should approach to this in sharepoint..

any code examples would be appreciated.


Modify User in Collect Data from User Workflow


I've created a workflow with a Collect Data from User action that emails a Group when the task is created. Once the task is claimed by an individual, the Assigned To column in the task list is updated to display that person's name but once the task is completed the email variable for the action is not updated and the group is emailed instead of the person listed as Assigned To.

So the question is this: Is there a way to update the user varialbe in the workflow task once the task is completed, or would I need to build my own workflow and use the Send Email action?

Share Point Designer 2007 Workflow (Sequential) - multi-collect data from user

I am currently building a multi-step workflow using ShrePoint designer for MOSS2007. I am getting a bit confused as to if I have an error or if I am doing something incorrect. Here is what I have going. My workflow consists of something similar to the following New document comes in, a collect data from user routine is ran and assigned to a reviewer. My understanding when I create a collect data from user WorkFlow step is any data I request is saved in the "Tasks" list. Therefore I need to grab the workflow task ID in order to later lookup what the reviewer submitted... I understand this...   However, I have one more collect data from user workflow step and I have one more item to collect. Even though this is a brand new collect data from user workflow step - does the collected data still go into the "Tasks" list? In other words, if I have two steps in a workflow and both of these steps are "collect data from user", does the data from both steps go into the same "Tasks" list?  I could see how this might be possible as long as the Task list columns contain all the items for all the different "collect" data from user steps.  I don't see two different Tasks lists representing or named "Reviewer" or "Final" or anything, so I assume the items are all in "Tasks"   However..

Collect Data from a user task error

Hello, I am a new admin and I'm hoping you can help. I have used the Collect Data from a user Action in a workflow in Designer. I get no errors in saving or publishing. My workflow works find and sends me the task assignment as an email when I test. However, I then run into three problems which (together or separately) prevent me from moving forward in the workflow. 1) When I click the "edit task" button located in the task email, my entire Outlook locks up and must be restarted. (I am using outlook 2007 and Sharepoint Foundation 2010) 2) The email says in step 3 to use the "Open the Task" button to mark the task complete. I cannot find this button anywhere. 3) When I go directly into the task, I can view it but I can find no way to "complete" the task without editing it directly. This gives me an error window that says, "Type 'Microsoft.SharePoint.WebControls.SPDataSource' does not have a public property named 'UseServerDataFormat'. "

Collect data from a User - Validation Bug




I use the action "Collect data from a User". I add a new field of the type Choice, the next step I write two choices:




and configure it:


Default value is blank
  Display as: Radio Buttons
  uncheck Allow Fill-in choices
  uncheck Allow blank values


Click Finich button


When the task is created I need to choose among Approved or Rejected, however if it be not chosen any alternative the validation doesn't work.


If I have a field text the validation works perfectly.


Is there a bug in validation form when the field is a "Choice type" ?


Please help-me.

Collect Data From User in Sharepoint 2010



I am trying to run a task where I collect data from a user, simple YES/NO choice selection, within SPD.

I have created the workflow and it does run, however the Output to returns the List Item Id, which is fine, I understand this is the Task ID.

But I cannot work out how to get the result from my YES/NO to use further in the workflow so as to change the status of another list item.

I have read the guide for 2007 (http://office.microsoft.com/en-us/sharepoint-designer-help/collect-data-from-a-user-in-a-workflow-HA010209808.aspx#BM5) but this guide does not follow for SPD 2010.

Can anyone point me in the direction of a guide/example or explain what I am missing.  I would prefer to be able to complete this task within SPD, rather than VS2010.

Thanks in advance


How to get Email of Current User Data View Web Part Sharepoint 2010 and pass to WebService data sour

I have to pass in the email address of the current user to a web service data source (run time) of a Data View Web Part.

My Question is:

a) How can I get Email address of current user based  in DVWP.
I know we can get the CurrentUser using the CurrentUserName but how do we get the Email for the Current User.

b) After getting the Email how do we pass to the Web Service.

Sharepoint Designer 2010 - Collect Data from User Issue


I am currently running Sharepoint 2010 Foundation and Sharepoint Designer 2010

I am creating a custom workflow where I am asking 1 user for input using collect data from user.  Following this I am asking a different user the same question using another collect data from user.

Since these creates 2 tasks (1 for each user) I wanted to store the information in the same column, but I seem unable to do so.  Each collect data from user seems to create it's own column even if you name both the same (you end up with 2 columns with the same name but different column id's).

Is there a way to point them both to the same column?  Is there a better way to do this?


More the less I am asking the both persons a yes/no question.  in my workflow if they both say yes I send an e-mail but wanted to have only 1 column in the vew to see the results on the tasks.




Collect Data from a User in parallel


I have designed a custom workflow using SharePoint Designer.  I have set several “Collect data from a user” actions in SharePoint Designer to be run in parallel.  However, I have discovered that when attempting to retrieve the Task ID from the Tasks list, I am unable to obtain a value until the "Collect Data from User" task has been completed (not just started or in progress), thereby halting my workflow in parallel action.

My custom action basically flows like this:

Collect data and output to variable

  and set Task

How can I show data from a Workflow variable in a Collect Data from User form?



I have collected some data from a user in a SharePoint Designer workflow step and I now want to display that data in a second "Collect Data from User" form at a subsequent step in my workflow.  How can I add the content of my Workflow data variable in the Collect Data from user form?

This guy says he has done something similar but does not explain the detail: http://www.mstechblogs.com/paul/spd-workflow-collect-data-from-a-user-modify-the-generated-task-form

I'm keen to hack at the aspx form in SPD but I really need the particular line of code that will do it as I'm not a developer.

Your help is greatly appreciated!

How can I show data from a Workflow variable in a SharePoint Designer Collect Data from User form?



I have collected some data (a comment) from a user in a SharePoint Designer (SPD) workflow step and I now want to display that comment in a second "Collect Data from User" form at a subsequent step in my workflow.  How can I add the content of my Workflow data variable, or even data from my original item, in the Collect Data from user form?

The Collect Data from user form is generated out of the Workflow Tasks list and only contains the url of the item where I could store the comment and which has the workflow attached to it.

This guy says he has done something similar but he appears to only use the URL and static info and does not explain the detail in any case: http://www.mstechblogs.com/paul/spd-workflow-collect-data-from-a-user-modify-the-generated-task-form

I'm keen to hack at the aspx form in SPD but I really need the particular line of code that will do it as I'm not a developer.

Your help is greatly appreciated!

Collect Data From User Updates another column

I have a custom workflow on a Task list that collect data from user. When the Assigned To fills in the form and Completes Task it updates another column in the task list. Why?

Selecting a Task List in Sharepoint Designer 2007 while setting up "Collect Data from User"

When using Sharepoint Designer 2007 to Collect Data from User the task list cannot be selected.  Instead the Task list that is defaulted is the most recently created Task List.  How can I select a specific Task list to associate with"Collect Data from User"?

logged in user data


I'm using the defualt membership provider, i created a table and used the gridview on the logged in user page to show his information such as address e-mail phone zip code etc,, how can i do this without writing a code?

I am new to asp.net  i need simple help please?

Storing User Data



I'm trying to get the current logged in UserId Value, using this code

Protected Sub UserProfileDataSource_Selecting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs) Handles UserProfileDataSource.Selecting      ' Get a reference to the currently logged on user      Dim currentUser As MembershipUser = Membership.GetUser()      ' Determine the currently logged on user's UserId value      Dim currentUserId As Guid = CType(currentUser.ProviderUserKey, Guid)      ' Assign the currently logged on user's UserId to the @UserId parameter      e.Command.Parameters("@UserId").Value = currentUserId End Sub

But, I getting an error (NullReferenceException), I did set a url authorization on the page that i try to get the logged in user information, witch is info.aspx, and I made the login.aspx control to be redirected to the info.aspx after the login process, But the info.aspx  only shows me (access in denied), how can i make this page knows that i am already logged in?

Persist data in a dynamically populated ListBox in a user control


Hi All,

I am trying to persist data in a dynamically populated ListBox in a user control. Here are the details

I have a user control which contains a a listBox and button. On Page_Load of user control I am populating the ListBox control with some values. On Click of button, I am trying to fetch the values which I have selected in ListBox. Though this seems very simple and straight forward I am unable to fetch values.

My Page_Load Function

void Page_Load(object sender, EventArgs e)










My Click Function

Protected Void Button1_Click(object sender, EventArgs e)


       string strValue = listBox.SelectedValue



I have placed brake point at Page_Load and on click function, I am seeing that the moment the breakpoin

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