How to send notification from flow with an attachment on the catalog form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2023 03:18 AM
Hello Developers,
I want to send the notification to a particular group when approval flow is complete.
There is one condition: I have an Attachment field on the catalog form which is mandatory. So, I need to send the notification with the attachment included as well.
Could you please guide me to achieve this?
Thanks,
Hritik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2023 03:45 AM
Yes, if you are not doing using 'Send Email' within the flow. Try what @Prashant Ahire has said as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 12:20 AM
Please find the process I followed:
In Flow, used Send Email action -> In the body of email tried to add Attachment field (which is there on the form) -> but when I tested it in the Emails it will only show as the sys id of attachment in the body but the actual attachment doesn't show as attached.
I want to attach the document in the email which end user will attach while submitting the REQ.
Could you please guide me here?
Thanks in Advance,
Hritik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2023 03:58 AM
I would suggest to use event based approach and trigger email from flow
Handle the attachment part from email script
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 12:19 AM
Please find the process I followed:
In Flow, used Send Email action -> In the body of email tried to add Attachment field (which is there on the form) -> but when I tested it in the Emails it will only show as the sys id of attachment in the body but the actual attachment doesn't show as attached.
I want to attach the document in the email which end user will attach while submitting the REQ.
Could you please guide me here?
Thanks in Advance,
Hritik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 02:35 AM
you need to use event queue based approach.
trigger event and let event trigger the notification
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader