ui action

madhavraj89
Giga Contributor

Hello Everyone,

I have a requirement to add an Escalated UI Action button on the Incident form. On click, the state should change to Escalated and a notification should be sent to the Plan Owner and IT Support Manager And this button is only visible for sn_bcm,admin role people how to do this. Could you please suggest me

Thanks in Advance
Madhav
6 REPLIES 6

GlideFather
Tera Patron

Hi @madhavraj89,

 

and what's the issue? Navigate to UI Actions, create it accordingly. If you have any issue, describe what happened to help you. Please don't expect that somebody will do your job ;)) the efforts shall go both ways, share what you did and when getting errors, we can debug together

_____
100 % GlideFather experience and 0 % generative AI

 

I didn’t ask anyone to do my job 🙂. I created the Escalated UI Action on the BCP Plan table, and on click it sets the state to Escalated. I have also created the corresponding Event Registry entry and Notification.

However, I am not seeing any email records generated in the sys_email_list table. Could you please help me understand what I might be missing?

Below is the screenshot of my notification configuration.

Hi @madhavraj89.,

 

okay! please always share the corresponding configurations when asking, the quality of the response you can get will increase :))

 

All your stuff looks good, let's try to debug then.

 

1) Is the event name correct in the UI Action and Notification trigger?

Sometimes there are prefix or "." confused with "_".

It is both in the same scope?

 

2) Just a small correction the correct table name is [sys_email] the "_list" is only accessing it in list view. Navigate to: https://yourinstance.service-now.com/sys_email_list.do

 

3) If you don't see that email there, go to Event log: https://yourinstance.service-now.com/sysevent_list.do

 

In the event log, do you see the event fired there? 

If yes, then it is problem with the notification not being triggered,

If no, then it is not fired from the UI Action at all and must be reviewed there.

 

Also to verify the event working correctly, you can create a scheduled job (or a background script) that is firing that event and execute the job manually, then you will again see if the event is triggered or not in the Event log..

 

Let me know what you found 

_____
100 % GlideFather experience and 0 % generative AI

@madhavraj89 one more thing might be the event syntax.

 

There's Name, GR, param 1, param 2, (empty string).

Screenshot 2026-03-27 at 14.46.39.png

 

You can try to either remove the quotes or add there a name of a queue, but it's optional.

You are good with syntax:

gs.eventQueue('event_name', current, current.param1, current_param2);

 

EDIT: all below

eventually you can check the Client field to be true

Screenshot 2026-03-27 at 14.52.36.png

 

Also as seen above, the UI Action is not added to any form or list options, is it even visible?

_____
100 % GlideFather experience and 0 % generative AI