Scoped App Notification triggered using Scheduled Job and Event
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2023 11:01 AM
Hi Team, Currently I have a notification that triggered based on a scheduled job. This notification is configured on User table based on an event and the who will receive is set as email field.
This notification includes the count of requests that breached the SLA and the count of upcoming SLA breaches. This notification is send to the assignment group managers.
The scheduled job is to find the manager and corresponding requests counts and it's used in the Event.
Below is the event queue parameters currently using:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2023 11:13 AM
Hi @Shaji T M ,
U can send a JSON value consisting of different Key Value pairs in one of the event Paramter.
For eg parm1 u can send 2 or 3 or more values like this before calling the event
var jsonValue = {
'manager':manager_name,
'upcomingTask':upcomingTask.join(",")
}
Then in ur event calling u can do something like this
gs.eventQueue("x_xyz_aa.sla_breach_warning_mgr",fUserRec,JSON.parse(jsonValue),manager_info);
Please use proper variable names, i have used random just for eg purpose. This way u can send n number of values in only 1 param 7 2nd param u can use for something else.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2023 04:28 PM
Hi @Shaji T M ,
If my response was helpful to u could u please mark it as Solution Accepted as well as it will benefit other Users to find right answer.
Thanks,
Danish