- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2022 10:38 PM
Hi, I have this requirement can anyone help me with this i.e. how to do it
- Create an incident record, when incident state changes to "Resolved." ,
- Export a PDF of resolved incident automatically & attach a attachment in Email notification.
- Send Notification to the caller with attached attachment of incident record.
Thanks
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2022 03:36 AM
Glad to know that my approach worked.
Please mark my response as correct and helpful to close the thread.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2022 05:28 AM
so what debugging you did and what setup you did?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2022 09:37 PM
Hi,
These are the steps that I followed so far
1. Used BR on the incident table which runs when State Changes to Resolved(After insert or update)
2. Used the first script from the link
3. Created event register on the incident table and call that event in the notifications
4. Include attachment checkbox is true
5. Used this at the end of the BR
gs.eventQueue('event_name', current, current.caller_id);
If any changes needed please suggest
Regards,
Rushikesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2022 10:41 PM
so what is not working?
file not getting attached?
OR
email is not triggered?
what debugging you performed?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2022 10:46 PM
Hi,
1. file is not getting attached
2. Also email is not triggered
Both are not working
Thanks,
Rushikesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2022 11:00 PM
Hi,
are you using correct steps and credentials in your BR script
it should work fine as per the article shared.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader