"Add" Button Not Functionality in CSM/FSM Configurable workspace

jay97
Tera Contributor

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 

 

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

 
VIdeo explanting that  how to work with UXF client Declarative action in SOW

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

 

jay97_2-1746019265881.pngjay97_3-1746019313191.png

 

   

 

 

 

 

 

CSM/FSM Workspace Configuration:

The following configurations have been applied to the CSM/FSM workspaces:

 

  1. Action Payload Definition (sys_declarative_action_payload_definition): INCIDENT_TO_PROBLEM_INCIDENT

          

jay97_4-1746019390234.png
{
  "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

 

       

jay97_5-1746019450467.png

3 UX Add-on Event Mapping (sys_ux_addon_event_mapping): incident_to_prob

 

jay97_6-1746019481381.png

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 ?

0 REPLIES 0