- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2022 10:57 PM
Hello, how can I create a notification/reminder to users with a specific role? Can someone please guide me on how to set it up?
My main requirement is just to create a notification/reminder to each manager to check and update the drinks table.
There are no other prerequisites for it, its just to notify the manager every week or so.
How can I achieve this?
Solved! Go to Solution.
- Labels:
-
Personal Developer Instance
-
Studio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2022 11:17 PM
Hello
you can do it like this if its a weekly process
1) Create a event in event register table
2)Create a scheduled job where you can call your event and set your scheduled job to run weekly once at your required time with this script of your requirement and trigger the event
var gr= new GlideRecord('your_drink_table');
gr.addQuery('<fieldname>','<value>'); //. add your query
gr.query();
if(gr.next())
{
gs.eventQueue('your_event_name',gr,'','');
}
3)Then use this event in the notification and in whom to send select your manager as the recepient
PLEASE MAK MY ANSWER CORRECT IF IT HELPS YOU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 12:26 AM
Hello Mohith,
How will the managers see the notification? Do I have to create something so they will be able to navigate and see it? or is it mainly being sent to their personal email?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 12:33 AM
if you want to send the email to outlook then you might have to enable email properties
you can see the check box mail sending enabled on top you need to check that.
if its dev environment i would suggest you to give or hardcode their emails in the test email field so that it goes to them .
but keep in mind that every email log will be sent to them not only your notification ,every notification will be sent to the email which you mention in the test email address .
iN SHORT IT WORKS AS THE Global email address which will flood the inbox.
So give the test email and test test flow quickly and then again put it back to some random email as shown above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 12:42 AM
Hello,
I see I understand, so for some cases I would like to test it out for non production purposes I can just use a personal email. I am trying it right now but for some reason I cannot edit the fields
I did a bit of research and it says I have to personally enable it in my instance actions. However I cannot seem to do so as no matter how many times I try it always results to this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 12:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 12:47 AM
It is my personal developer instance as we're only doing this for an internship project.
Perhaps emails/notification are not available in PDI as its mainly for testing?