Generate pdf document from template and attach that document into one email in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hello All,
I have a requirement i have some tempaltes and template mappings done in sn_doc_template table.
Now i have to generate pdf document using flow designer and after it gets generated i need to attach that generated document as an attachment to one email using flow designer.
@Ankur Bawiskar , How i can achive this functionality?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I have a blog and you can use that server side script in custom flow action and include that flow action in your flow
Generating and Attaching Document Templates in ServiceNow to Record - Server Side
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hello @Ankur Bawiskar ,
The below is the script i tried my template is a word template and applied table is a custom table i tried but the info is coming as undefined.
(function executeRule(current, previous /*null when async*/ ) {
