- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2023 02:32 PM - edited 06-15-2023 08:40 AM
Hi folks,
I am working on an integration with ePlus and am trying to get attachments to be posted to their SNOW instance. I am working in Flow Designer and using the Integration Hub. I am using the OOB "Look UP Attachment" action followed by a "For Each" step to loop through the returned attachment list but I cannot add any of the outputs from my "Look Up Attachment" step. It is not allowing me. Here is a screen grab of my flow:
Can someone provide help as to why I cannot add this? I have tried the data pill picker as well as drag & drop but neither has worked.
Thanks,
Ken
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 08:39 AM - edited 06-15-2023 08:43 AM
I got this figured out 🙂
So, instead of using the OOB "Look UP Attachment" action, I used the "Look Up Records" action. This allows me to setup my condition manually as "WHERE 'Table sys ID' is 'Trigger - Record Created.Incident Record.Sys ID'". The "For Each" Flow Logic then accepted the "Attachment Records" data pill of the Action Output.
Now to figure out how to POST these to the target incident 🙂
Thanks,
Ken

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2023 02:34 PM - edited 06-14-2023 02:35 PM
Is look up attachment designed to return more than 1 row?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2023 05:19 PM
Hi DrewW,
Thanks for your reply. Yes, one of the outputs is:
Attachment ListData type: String
Stringified JSON Object that has all the attachments returned with File name and File size properties.
Best,
Ken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 08:39 AM - edited 06-15-2023 08:43 AM
I got this figured out 🙂
So, instead of using the OOB "Look UP Attachment" action, I used the "Look Up Records" action. This allows me to setup my condition manually as "WHERE 'Table sys ID' is 'Trigger - Record Created.Incident Record.Sys ID'". The "For Each" Flow Logic then accepted the "Attachment Records" data pill of the Action Output.
Now to figure out how to POST these to the target incident 🙂
Thanks,
Ken