Locating and attaching multiple attachments from a Request Item to an Email using Flow Designer

Evan McElfresh
Giga Guru

This is regarding this post about a similar topic, but the solution is not working for my specific needs, and there is another reply with my same need, that was never addressed: https://community.servicenow.com/community?id=community_question&sys_id=2a5c086adb9a4c105129a851ca96...

Brief Summary:

We have a form in the Service Portal that requires 2-5 image attachments for submission. Once submitted, the information is passed on to a manager for approval.  They need to see these images, but are not agents in our ServiceNow instance, so I am manually sending them the data in a custom email action in Flow Designer. Problem is, after following the linked article above, I am only getting one of the attachments.

 

Details:

These are the 4 Flow actions where the magic is supposed to happen, but the breakdown appears to be action 4 and 5 - Action 4 sees all the attachments in the attachmentList, then assigned a single sysId, which action 5 references, only pulling a single attachment instead of the full list. Any advice?

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

 

Please mark this response as correct and/or helpful if it assisted you with your question.
6 REPLIES 6

DrewW
Mega Sage
Mega Sage

So probably the easiest way to deal with this is trigger an event and that event has a Notification that goes out.  Then just check the "Include attachments" check box for that notification.

 

Thank you for this idea.  I have played around with this option, at your suggestion, and while I can get the notifications to send, I still can't get it to bring over any attachments.

First I tried using the method described here: https://community.servicenow.com/community?id=community_article&sys_id=9029d660db5309105205e6be13961..., but that was giving me the result of no notification sent.

Then I tried the OOB event, Send Notification, which is working to have the notifications sent with two issues, 1) I can't locate the variables of who the recipients should be (this changes for each submission) and 2) still no attachments coming over.

find_real_file.pngfind_real_file.png

Please mark this response as correct and/or helpful if it assisted you with your question.

Have you verified that the attachments are on the requested item?  Just to make sure things are where you think they are?

 

Yes. In my original post there are two screenshots showing the test results, including the AttachmentList in step 4, which I opened for further detail and included a screenshot of the list (2 attachments).

Please mark this response as correct and/or helpful if it assisted you with your question.