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

Thank You, Ankur it worked. But one question, since it is OOB and written on Global will upgrade will impact this UI action?

Hi,

During upgrade this UI action will be skipped.

Please remember to mark response helpful as well.

Regards
Ankur

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

@Raviteja 

Hope you are doing good.

Would you mind marking my answer as correct and helpful, to close this thread as I have answered your question?

Regards
Ankur

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

Viraj Hudlikar
Giga Sage

Hi @Raviteja 

I doubt if this is possible as the Ui Action you are saying prior to Paris was not such Global Ui Action as specified by @Ankur Bawiskar and this email client is like property on table if its set to false that form button from workspace as well as native view it will be not be available.

find_real_file.png

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.

Thanks & Regards,
Viraj Hudlikar.