"Add" Button Not Functionality in CSM/FSM Configurable workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2025 06:29 AM - edited ‎04-30-2025 11:05 AM
Problem Description: ( it is in the yokohama )
I am attempting to enable the "Add" button functionality within the Customer Service Management (CSM) and Field Service Management (FSM) workspaces. My goal is to replicate the working functionality of the "Add" button found in the Service Operations Workspace (SOW).
Current Status:
I have successfully made the "Add" button appear in the CSM/FSM workspaces. However, the button is currently not clickable and therefore not functional. However it is working SOW workspace
Steps Taken:
I followed the steps outlined in this video: https://www.google.com/search?q=https://www.youtube.com/watch%3Fv%3DOzUPW2h_PSo%26t%3D350s
Creating a UXF Client Declarative Action in ServiceNow Service Operations Workspace (Add button)
Expected Behavior:
Clicking the "Add" button should present a modal window similar to the one in the SOW workspace, allowing users to select and add related records. See the screenshot below for an example from the SOW workspace.
SOW Workspace "Add" Button Example
CSM/FSM Workspace Configuration:
The following configurations have been applied to the CSM/FSM workspaces:
- Action Payload Definition (sys_declarative_action_payload_definition): INCIDENT_TO_PROBLEM_INCIDENT
{
"label": "{{label}}",
"userGivenTable": "{{userGivenTable}}",
"table": "{{table}}",
"parentRecordSysId": "{{parentRecordSysId}}",
"relatedListName": "{{relatedListName}}",
"hideSelectAll": "{{hideSelectAll}}",
"parentFieldName": "{{parentFieldName}}",
"referencedFieldName": "{{referencedFieldName}}",
"extensionPoint": "{{extensionPoint}}",
"view": "{{view}}",
"columns": "{{columns}}",
"type": "{{type}}"
}
2 Action Assignment (sys_declarative_action_assignment): add_incidents_to_problem
3 UX Add-on Event Mapping (sys_ux_addon_event_mapping): incident_to_prob
TARGET PAYLOAD
{
"container": {
"fields": {
"container": {
"columns": {
"binding": {
"address": [
"columns"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"extensionPoint": {
"binding": {
"address": [
"extensionPoint"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"hideSelectAll": {
"binding": {
"address": [
"hideSelectAll"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"label": {
"binding": {
"address": [
"label"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"parentFieldName": {
"binding": {
"address": [
"parentFieldName"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"parentRecordSysId": {
"binding": {
"address": [
"parentRecordSysId"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"referencedFieldName": {
"binding": {
"address": [
"referencedFieldName"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"relatedListName": {
"binding": {
"address": [
"relatedListName"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"table": {
"binding": {
"address": [
"table"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"userGivenTable": {
"binding": {
"address": [
"userGivenTable"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"view": {
"binding": {
"address": [
"view"
]
},
"type": "EVENT_PAYLOAD_BINDING"
}
},
"type": "MAP_CONTAINER"
},
"params": {
"container": {
"type": {
"binding": {
"address": [
"type"
]
},
"type": "EVENT_PAYLOAD_BINDING"
}
},
"type": "MAP_CONTAINER"
},
"route": {
"type": "JSON_LITERAL",
"value": "mra"
},
"size": {
"type": "JSON_LITERAL",
"value": "lg"
}
},
"type": "MAP_CONTAINER"
}
could you please explain how to fix this is issue or i need to check another approach ?