How to show/add button Affected CI related list in workspace ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi All,
I have a requirement to show "Create Outage" button on Affected CI related tab on CPP workspace.
There is already Declarative UI action created for DPP workspace which is using "Condition" field to show this button. "Condition" field is using a script include function to set "Create Outage" button visible true/false.
I am using same UI action extending the condition for CPP workspace but the button is not visible.
For an example, I want to show "Create Outage" button on below marked snap shot.
How I could show it ?
Regards,
Virendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Virendra K ,
Option 1: Use Related List Actions (Declarative Actions) in Workspace
This is the preferred and modern approach for Workspace customization..Navigate to Workspace Experience → Actions & Components → Related List Actions in your instance. Then, create a new Declarative Action for the Affected CI related list.
Define properties like the label (e.g., Create Outage), parent table, related list name, and the behavior (OnClick action or modal options). Use UX Event Mappings to control what happens when the button is clicked, such as opening a modal or running a script
Option 2: Enable the Button via a UI Action with Workspace Visibility Settings
If you already have a UI Action defined (even one originally scoped for DPP Workspace), you can make it visible in CPP Workspace: Open the UI Action record. Scroll to the Workspace section you’ll find visibility controls specific to Workspace environments.
Enable the UI Action for your CPP Workspace and include the appropriate onClick() logic to trigger the outage creation flow..
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thanks for the reply.
I tried to create the button as per Option 1 but "Create outage" button is not showing on Affected CI related tab.
see here ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @Virendra K ,
Trying Workspace Form Button or workspace visibility on a classic UI Action only adds it to the form, not to related list. For it to appear in related list contexts in Workspace, you must use a Related List Declarative Action configured specifically for that related list...
________________________________________________________________________________________
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/