[Notifications] How to create notifications/reminder to users with a specific role?

John Clyde Ap_a
Giga Expert

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?

1 ACCEPTED SOLUTION

Mohith Devatte
Tera Sage
Tera Sage

Hello @John Clyde Ap[as ,

you can do it like this if its a weekly process 

1) Create a event in event register table 

find_real_file.png

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,'','');
    }

find_real_file.png

 

3)Then use this event in the notification and in whom to send select your manager as the recepient

find_real_file.png

PLEASE MAK MY ANSWER CORRECT IF IT HELPS YOU

View solution in original post

21 REPLIES 21

okay then for now editing the email properties is disabled and no one is able to edit that in personal dev instance 

Although you can check in your instance, if the email is processed by SN by navigating to "Outbox" in left navigation

find_real_file.png

find_real_file.png

Yes a record is in here. So this is mainly the only for now to view notifications and email? 

I see, final question and thank you for helping me so far and I apologize for the barrage of questions. Is there mainly a different instance being used by professionals to actually implement a fully fledged product without restrictions?

@John Clyde Ap[as no worries .

yes when you get inside a company and work as a service now developer based on your role in the project you will be given access to different modules and admin too if you are pure developer and the clients will have a separate instance for the implementation

I understand, thank you very much. I will be closing this thread now and have marked your answer as the correct answer.

 

Have a nice day.

No problem!