Notification

roomawakar
Tera Contributor

Hi All,

I have a requirement to add an email address to a email notification which is getting triggered every week.

When I opened that notification, it is being triggered through an event.

When I checked that event, it is being fired through the script include.

When I opened that script include, there it has been written as "This is run by a schedule job to send reminders to on-calls on a daily basis."

 

But i am not able to find any scheduled job where script include is being called or any event is being used.

How to find that scheduled job and where can I include that email address.

 

Thanks,

Rooma

2 REPLIES 2

Rajesh Chopade1
Mega Sage

hi @roomawakar 

Go to schedule job and use the search bar and try keywords like "reminder," "on-call," or even the name of the Script Include.

 

Add the Email address:

Open notification that is triggered by the event. In the Who will receive section you can select 'User' option where you can add new email address.

 

If the email address needs to be added programmatically, you can modify the Script Include where the event is fired.

 

i hope my answer helps you to resolve your issue, if yes please mark my answer helpful and correct.

thank you

rajesh

 

 

GlideFather
Tera Patron

The event could have been fired by workflow as well.

But if you know it is a scheduled job that is triggering the script include, and eventually the event, and you need to find it go to the Scheduled script executions > type "sysauto_script.list" to the filter navigator and press enter:

KamilTerl_0-1727783959226.png

There is a field/column called "Run this script", filter it either by the funnel icon (1) or add that field to the list view and use the asterisk (2).

KamilTerl_1-1727784030385.png

 

This should help you to locate where the event is queued.

If nothing is found here, try to go to the sys_update_xml.list or sys_metadata.list and do the same for the Payload.
[Payload] [contains] [event_name]

NOTE
: be careful as it might be millions of records here, so perhaps go to sys_update_xml.filter - it will access the table before it loads any data, so it will give you chance to create the condition, and search for it.

Let me know if it helped you.

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */