How do I get data out from the "Collect data from user" task that a workflow creates? So far my attempts have been failures.

2 Answers 2


The right way to use the variable "collect" is to, when using the lookup window (like when you are trying to update or delete an item), you should point to the Tasks List (normally it appears like "Association: Tasks List"), and, in the "Find the List Item" section, you put on the first field the value "ID" and on the second the variable with the numeric value.

It should return the workflow task with the data collected from the user, along with the custom fields you may want to access.

SharePoint indeed gives this warning, but even if it finds multiple items, it returns only the first one found, so it's not exactly an error.


If I remember correctly, I created a workflow variable that gets a piece of information from the workflow task that is created. I repeat this for each item of data that was collected.

  • I need the steps for configuring it in the workflow, right now it creates the task, i complete the task, but the [Variable:collect] returns a numeric and not the information I actually need. Jun 7, 2012 at 14:34
  • 2
    That numeric value should be the list item id of the collect data task. You can use that to look up the task information and extract the information you need. Jun 7, 2012 at 14:38
  • This doesnt work, the system is yelling at me about "This may return multiple items." And it doesnt set the data correctly. Jun 19, 2012 at 15:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.