Add button (Custom) not working in Configurable HR Workspace.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2024 12:02 AM
Hi Everyone,
Having the below article as reference, I configured one button "Add" in HR Configurable Workspace.
Introduction to Declarative Actions - ServiceNow Community
The above article has all the steps to have a Related list action in Workspace, but I am configuring this Add button for one of the related lists "Approvers"(HR Case) which is where I need that button. The below screenshots are configurations that I have developed for the Add button.
In the above image, there will be Target Payload Mapping field, below is the one which I used in the Target Payload Mapping field,
{ "type": "MAP_CONTAINER", "container": { "route": { "type": "JSON_LITERAL", "value": "mra" }, "size": { "type": "JSON_LITERAL", "value": "lg" }, "fields": { "type": "MAP_CONTAINER", "container": { "label": { "type": "EVENT_PAYLOAD_BINDING", "binding": { "address": ["label"] } }, "userGivenTable": { "type": "EVENT_PAYLOAD_BINDING", "binding": { "address": ["userGivenTable"] } }, "table": { "type": "EVENT_PAYLOAD_BINDING", "binding": { "address": ["table"] } }, "parentRecordSysId": { "type": "EVENT_PAYLOAD_BINDING", "binding": { "address": ["parentRecordSysId"] } }, "parentFieldName": { "type": "EVENT_PAYLOAD_BINDING", "binding": { "address": ["parentFieldName"] } }, "referencedFieldName": { "type": "EVENT_PAYLOAD_BINDING", "binding": { "address": ["referencedFieldName"] } }, "extensionPoint": { "type": "EVENT_PAYLOAD_BINDING", "binding": { "address": ["extensionPoint"] } }, "view": { "type": "EVENT_PAYLOAD_BINDING", "binding": { "address": ["view"] } }, "columns": { "type": "EVENT_PAYLOAD_BINDING", "binding": { "address": ["columns"] } }, "type": { "type": "EVENT_PAYLOAD_BINDING", "binding": { "address": ["type"] } }, "hideSelectAll": { "type": "EVENT_PAYLOAD_BINDING", "binding": { "address": ["hideSelectAll"] } }, "relatedListName": { "type": "EVENT_PAYLOAD_BINDING", "binding": { "address": ["relatedListName"] } } } }, "params": { "type": "JSON_LITERAL", "value": {} } } }
After all set & ready, the button's appearing but it's not doing anything. Can someone please point out where I'm wrong?
Any help is much appreciated!
Thanks,
Srinath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 06:51 PM
I'm facing the same issue. Was this resolved?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2025 08:18 AM
Did you get this sorted?
I've got my button and when I click the MRA appears but when I select records and click "Add", it doesn't add them.....
But surely, this is the MRA component that is native right? Surely, as long as I call it OK and it works for other buttons on the page, it should do what it's designed to do??