How to hide a dropdown button Option in the SOW?

SpartanW
Tera Contributor

Hello All,

 

I want to hide a 'Create change request' button on the service operation workspace for the incident record.

I did try to deactivate using UI Action but did not work.

Please see attached picture.

SpartanW_0-1753270474944.png

Thanks.

4 REPLIES 4

abirakundu23
Mega Sage

Hi @SpartanW,
Please follow this approach.

Instead of deactivation of UI Action, make false for Format Configurable Workspace for this UI  Action.
Attach screenshot as your reference.

abirakundu23_0-1753283025114.png

 


Please mark helpful & correct answer if it's worthy for you.

nate_n
Tera Contributor

Navigate to All -> Now Experience Framework -> Experiences

Open Service Operations Workspace

Within UX Page Properties find "chrome_tab"

Remove all mentions of Changes from JSON array

 

Zach Koch
Giga Sage
Giga Sage

Are you sure that this is a UI action? There are two different types when it comes to Workspaces. There are traditional UI actions that can be put into workspace by checking the Workspace boxes at the bottom and filling in the script as needed, and there are Declarative Actions. Declarative Actions are UI actions that are ONLY available in workspace, and not in classic UI. These workspace specific UI actions are housed on completely different tables than classic UI actions.
Here is a link regarding Declarative Actions if that is what is happening in your case
Declarative Actions in ServiceNow: The COMPLETE Guide 

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

wojasso
Giga Guru

Hi @SpartanW,

In Service Operations Workspace the actions under the **More »** menu (Create change, Create problem, Create child incident, etc.) are **not** driven by the standard UI Action records on incident. They are workspace quick actions defined in the **UX Action** table and rendered by the page's `chrome_tab` property. That’s why deactivating the classic UI action had no effect.

There are a couple of ways to remove the "Create change request" entry:

* **Disable the UX Action** – Navigate to **Now Experience Framework > UX Actions** (table `sys_ux_action`) and search for the action whose name is *Create change request* or where `table=incident` and `target record type = change_request`. Open that record and either set **Active** to false or add a role/condition to restrict it. Once inactive, the option will disappear from the SOW action menu, but the classic UI will remain unaffected.

* **Edit the page property** – Go to **Now Experience Framework > Experiences**, open **Service Operations Workspace**, locate the **Record** page and find the **UX Page Properties** section. In the property called `chrome_tab` you will see a JSON array that lists each quick action (it includes objects for change, problem, child incident, etc.). Remove the entry for the change action (`"change_request"` or `"createChange"`) and save/publish. This approach completely removes the change option from the drop‑down for that page.

Declarative actions can be used to add workspace‑only UI actions, but they won’t hide these built‑in quick actions. Editing the UX Action or page property is the supported way to control visibility in SOW.

Hope this explains why your UI Action attempt didn’t work and gives you a path to hide the change option. Let me know if you have further questions!