I have a requirement to create a survey, and based on the answer to a certain
question on one of the branches, I need to send email notifications to
certain email addresses, including the answers to the questions posted in the
survey.
This should have been straight-forward using a Designer workflow, buf after
a couple of days of research on this, a couple of blogs detail that, even
though you can attach a workflow to a Survey, which I did, it will not run,
returning a "Failed on Start" message. This is the behavior I am
encountering. It all seems to be related to a missing GUID which does not get
passed.
Another option could be to tap into the ItemAdded or ItemAdding on the list,
but I've tried that, and these events do not seem to fire on the survey.
Dropping the code in the ItemDeleting event works, so the coding is correct,
but it does not serve the purpose.
Also, if going this way, I can't figure out how to retrieve the actual
answers to the questions, so I can compare and decide which email address to
send the message to.
Any help would be greatly appreciated.