Send email with attachment of filled in form of requested item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2024 11:12 AM
Hi Community,
I have a use case where I have a form set up as a catalog item.
I would like to send an email of an attachment containing a pdf or other Rich Text document, where this document is a copy of the filled in form (Catalog item)
Is this possible?
Kind regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2024 01:57 PM
Hi Anthony,
This is achievable but with extra efforts. We do have APIs for Generating PDF via sn_pdfgeneratorutils.PDFDocument() which can saved in system as an attachment and later sending Email via GlideEmailOutbound() using Business Rule. Try out the idea, and not forgetting the catalog variables list, add the in PDFDocument API using pdfdoc.addParagraph('Request Number: ' + current.number); etc. for each variable.
Happy learning!
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.