Add a button on Incident Related List in service operation workspace

Ssinha4
Tera Contributor

Hi,

I have to create a Add button for cases related list on incident record in SoW. I followed few of the articles from community.

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

 

https://www.servicenow.com/community/next-experience-forum/how-to-add-records-in-a-related-list-with...

 

'Add Case' Button gets added but onclick is not working. the model window is not opening. Please find my steps below and let me know if i am missing something.

1. Created a related list action assignment.

img1.pngimg2.png

 

2. Create Action payload

img3.png

 

 

3. Create UX Add-on Event Mapping in Action Assignment

img4.png

Based on below article i have also created a UX App Route for this one.

 

https://www.servicenow.com/community/next-experience-forum/how-to-add-records-in-a-related-list-with...

 

Version - Yokohama/Zurich

Cleared the cache too. But model is not working.

Kindly help,

 

Thanks in advance

1 ACCEPTED SOLUTION

@Ssinha4 , Could you please update the key with "OPEN_INCIDENTS_MRA", no matter on what table you have configured. Make sure the key is "OPEN_INCIDENTS_MRA".

And this key only works in Service Operations Workspace. 
Please find the below images for reference

 

 

Screenshot 2026-03-11 at 7.34.52 PM.pngScreenshot 2026-03-11 at 7.35.17 PM.pngScreenshot 2026-03-11 at 7.36.06 PM.pngScreenshot 2026-03-11 at 7.36.32 PM.png

View solution in original post

10 REPLIES 10

It's working for me. I haven't given any UX Add-on Event Mappings. 
Key: OPEN_INCIDENTS_MRA
payload: 
{
"label": "Add",
"userGivenTable": "sn_customerservice_case",
"table": "{{table}}",
"parentRecordSysId": "{{parentRecordSysId}}",
"parentFieldName": "incident",
"referencedFieldName": "sys_id",
"extensionPoint": "DEFAULT",
"view": "Default",
"columns": "number,short_description,account,priority",
"type": "o2m",
"hideSelectAll": false,
"relatedListName": "{{relatedListName}}"
}

Make sure you have given the key which I mentioned.

Hi,

Do you think it's the scope issue. Action assignment and payload are created in 'Incident Management for Service Operations Workspace' scope. Or some changes with the version (Yokohama).

 

Hello,

I don't think it is a scope issue because you can able to see the button right?
Try to create a new one but this time just give the name and table for the Action and just create the Action payload like I said. That's it. Don't do anything more or less.

Could you please check this whether this works for you or not.

Hi @Bhanu Vamshi , Still no luck 😞

Please find the screenshot below.

img8.pngimg9.pngimg10.png

Button is added but modal window is not opening on click. Cleared the cache too.

@Ssinha4 , Could you please update the key with "OPEN_INCIDENTS_MRA", no matter on what table you have configured. Make sure the key is "OPEN_INCIDENTS_MRA".

And this key only works in Service Operations Workspace. 
Please find the below images for reference

 

 

Screenshot 2026-03-11 at 7.34.52 PM.pngScreenshot 2026-03-11 at 7.35.17 PM.pngScreenshot 2026-03-11 at 7.36.06 PM.pngScreenshot 2026-03-11 at 7.36.32 PM.png