Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to hide "Compose Email" UI action on Incident form on Agent WorkSpace form

Raviteja K
Tera Expert

Hello Everyone

We have 'Compose Email' UI Action which is on Global Table. I want to hide this UI Action on Agent WorkSpace for Incidents.

How to hide 'Compose Email' UI Action on Agent Work Space for Incidents. I tried Insert and Stay on Incident table and made inactive but still able to see Compose Email UI Action.

Any leads on how to achieve this. Thanks in advance.

1 ACCEPTED SOLUTION

@Raviteja 

try this and it worked for me

1) go to this UI Action:

URL: https://instanceName.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=0bdd499d77773300112f8b51a9106179

2) update the condition as this to exclude incident table

changes in bold are new changes

new EmailEditorUtil().showInWorkspaceFormMenu(current) && current.sys_class_name != 'incident'

Output: UI Action hidden

find_real_file.png

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

please share screenshot where is this coming

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur

Please find the screenshot below.

find_real_file.png

@Raviteja 

try this and it worked for me

1) go to this UI Action:

URL: https://instanceName.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=0bdd499d77773300112f8b51a9106179

2) update the condition as this to exclude incident table

changes in bold are new changes

new EmailEditorUtil().showInWorkspaceFormMenu(current) && current.sys_class_name != 'incident'

Output: UI Action hidden

find_real_file.png

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi,

the above screenshot is for Quebec release

I could see the same UI Action in Orlando as well. I cannot check for Paris as I don't have Paris instance.

But for your question which has Paris instance it should work as it worked for me in Quebec

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader