enter image description hereWhen I use "set workflow variable" to assign a variable the value of "collect2", which is the variable created by the "collect" command, i get "Coercion Failed: Unable to transform the input lookup data into the requested type."

  • show your workflow code, please. – Mike Dec 17 '14 at 19:01
  • I'm using sharepoint designer 2010, I don't have code that I can copy and paste. I added a screen shot to the original message – Steve Scott Dec 17 '14 at 19:13
  • What is the variable type of collect2? What is the type of SMT run date variable? – Mike Dec 17 '14 at 19:26
  • collect2 is List Item ID, SMT run date is date/time – Steve Scott Dec 17 '14 at 19:29

ListItemID cannot convert into a date, change the first line output to SMT run date variable, then you can delete the last line in the screenshot. So the code should look like this:

Collect Get run date from Master Scheduler from Steve Scott (Output to Variable: collect2)
then Log received date from master scheduler... to the workflow history list
Set Variable: SMT run date to (See Picture)

enter image description here

  • it doesn't let me select it. It will let me create a new variable but only of type List Item ID – Steve Scott Dec 17 '14 at 19:35
  • Sorry, misspoke. The collect2 variable is the listitem of the task assigned to Steve Scott. See my edit. Instead of Due Date it should be the field that Steve Scott inputs to the date you are looking for. – Mike Dec 17 '14 at 19:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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