Edit or Add Approvers buttons are not available for sysapproval_approver related list in hr agent ws

Firas Kh
Tera Expert

Hi Everyone 

I currently have a problem with adding an action assignment (uxf) onto approvers (sysapproval_approver) related list to 'add' or create a 'new' approver on hr cases in the hr agent workspace. in the backend we have the edit & the new buttons for same related list.

tried to do as per the screenshot attached. and per comunity findings:

Edit or Add Approvers to RITM in Service Operation... - ServiceNow Community

Solved: Get Edit/Add option on Approvers Related List - ServiceNow Community

Solved: Agent Workspace - Get Edit/Add option on Approvers... - ServiceNow Community

 

nothing is working, tried also to follow  Ashley Snyder kb with no luck, 

https://www.servicenow.com/community/next-experience-articles/introduction-to-declarative-actions/ta...

 

someone did the same requirement and can share it with me for hr agent workspace? 

thanks!

2 REPLIES 2

kmohammed
Kilo Guru

## [Solved] Edit or Add Approvers buttons not showing on sysapproval_approver Related List in HR Agent Workspace

Hi everyone — I recently ran into this same issue while working on an **HR Agent Workspace implementation**:
In **UI16**, the **Edit** and **Add Approver** buttons on the `sysapproval_approver` related list for an HR Case are visible, but in **HR Agent Workspace**, they're missing.

Tried the suggestions from various community threads and KBs (Ashley Snyder’s declarative actions intro and others), but none worked until I adjusted the UXF Declarative Actions setup correctly.

---

### 📌 Problem Recap:
- **Table**: `sysapproval_approver`
- **Related List**: Approvers on HR Case
- **Issue**: No **New** or **Edit** options in HR Agent Workspace, while they're available in backend (UI16).

---

## Solution that worked for me:

### 1️⃣ Create a Declarative Action for `Add Approver`
- Go to **Declarative Action Registries** (`sys_ux_action_registry`)
- Click **New**
- **Name**: `Add Approver`
- **Table**: `sysapproval_approver`
- **Action Type**: `New Record`
- (Optionally enable **Modal Form** if you prefer it to open in a modal)
- Save.

---

### 2️⃣ Assign the Declarative Action to the HR Case Record Page
- Go to **Declarative Action Assignments** (`sys_ux_action_assignment`)
- Click **New**
- **Table**: `sysapproval_approver`
- **Action**: your `Add Approver` action
- **View**: The **HR Case record page name** you’re using in UI Builder (e.g., `hr_case_record`)
- **Location**: `Related List Action Bar` (or `Related List Context Menu`, depending on preference)
- Save.

---

### 3️⃣ Check and Update the Related List Component in UI Builder
- Open **UI Builder**
- Go to your **HR Case Record Page**
- Find the **Approvers Related List Component**
- In **Properties Panel**:
- Ensure **Show Action Bar** is toggled **on**
- Ensure **Show Context Menu** is **enabled** if you want right-click options too
- Ensure the **Actions** property includes your `Add Approver` declarative action.

---

### 4️⃣ (Optional) Add an Edit Approver Action
If you need an Edit action:
- Create a Declarative Action of type **Open Record** for the `sysapproval_approver` table
- Assign it similarly to the related list context menu

---

## 📌 Why this happens:
**Agent Workspace / Next Experience** doesn't automatically inherit UI16 related list actions. You need to explicitly create **Declarative Actions** and assign them to related lists via UXF to display in Workspaces.
Especially for system tables like `sysapproval_approver`, it needs this extra step.

---

## 📖 References:
- [Declarative Actions in Next Experience](https://docs.servicenow.com/en-US/bundle/utah-servicenow-platform/page/build/workspace-admin/concept...)
- [Next Experience Related List Actions Docs](https://docs.servicenow.com/en-US/bundle/utah-servicenow-platform/page/build/workspace-admin/concept...)

---

## Final Note:
Hope this helps someone else facing the same issue!
If this worked for you too, please **mark this post as helpful** 🙌 so it can reach others trying to solve this in HR Agent Workspace.

Happy developing!

---

hi & thanks for the reply,

1. there is no "sys_ux_action_registry" table to do the 1st step.

2. in step 2 the view field should filled with the view name not the case record page

also there is not "location" field.

3. in step 3 where "Approvers Related List Component" should be found? it's not there. i can find just "record related list tab default"

 

i need just the edit tab and i have it just as in the attached screenshot. but not working.