I have two fields with attachments. I want to be able to send an email using the gmail module that has the report as an attachment as well as any other attachments submitted in the survey.
I also need the solve the problem if a person does not submit any other attachments in the survey.
This is what I've got so far which sends an email with the other attachments from the survey, but not the report itself.
Thanks to anyone who has answers!!
Amanda Beck - Warren County GIS
Ahh, I ran into this same issue. What you need to do is create an iterator for the survey, and for the attachments. Then in the attachments field use the map format, then use the merge function. The syntax is merge(array1;array2), you can just click the array from the side popup.
Since this is only attaching arrays, basically, you will only receive what was submitted, so you should not have any errors if there are no attachments.
Hope this helps!