Query To-Do task custom content type user input and fill up infopath form


Badge +2

I have a workflow in a main custom list that must sends a Request Date to multiple users. For that, I have a second custom list with those users and I query it and save them in a variable.

The Request Data works perfectly for me because I can easily save the user input and pass it onto my main list.

216424_pastedImage_1.png

After some testing, I found out that the Collect Data From sends the request to just one user, even though the variable holds more than one. That doesn't work for me because I need to ask to multiple users for input (first answers applies). 

So I tried my luck with a Assign ToDo Task and passed the custom content types created with the Request Data to them (as a post around here explained). My problem is that now I have no way to pass whatever information the users filled in the task to my main custom list. I tried to query the task saving its Task ID on a variable (ItemTaskID) and using that variable to query the task list.

Using a Query List with Workflow Task as its List input, I filtered the ID with my ItemTaskID variable and set its Status to Completed. 

-The query list works, because I sent me the ItemTaskID in an email and then "forced" a search (using the Run Now feature) with the ID I received and and both fields I am searching appeared as a result. 

But when I use the ItemTaskID as a reference to that ID I receive an error in the Query List. I am not sure what I am doing wrong or how should I approach this problem. 

The only thing I want is to pass whatever input the user gave to the task to my main custom list...

216425_pastedImage_2.png


2 replies

Userlevel 5
Badge +14
I found out that the Collect Data From sends the request to just one user, even though the variable holds more than one.

what's datatype of MPValidation variable? - it should be a collection.

how have you proven it contains several users? could you post some sample how does its content look like?

Badge +2

It was not a collection and I knew it was multiple users because I set it to be so. I fixed using a Todo Task instead! Thanks happy.png

Reply