- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 01:02 AM
Hi Community,
How to show the list view records count in the notification body. Suppose we have 15 incidents whose status is work in progress. We want to show 15 as a count in the notification body.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 03:34 AM
var gr = new GlideRecord('incident');
In notification you can call that Email script: ${mail_script:emailscriptname}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 01:36 AM
Hi @Poorva Bhawsar ,
You can create an Email script and call it in the notification.
You can also have a look into Scheduled reports, if you want to analyse the information.
If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 02:01 AM
Hi @Poorva Bhawsar ,
1. You got to create a mail script which will query the same condition which is in your report and use getRowCount() to the count of records.
2. Create a notification were you can call this mailscript and how the numer in email.
I hope it helps...
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 03:34 AM
var gr = new GlideRecord('incident');
In notification you can call that Email script: ${mail_script:emailscriptname}