Help with Declarative Action (Workspace): Many-to-Many "Add" button for cmdb_rel_ci
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi everyone,
I'm working on a project to manage CI Relationships in a Configurable Workspace. I've successfully created a Declarative Action (List Action) on the cmdb_rel_ci table.
The Current Situation:
The "Add Relation" button is already visible on the Related List in my Workspace. However, when I click it, nothing happens—the modal/pop-up that should allow me to select a record simply does not open.
Goal: I want this button to open the "Create New Record ManyToMany" modal, automatically setting the current record as the Parent and allowing the user to select the Child record.
My Current Configuration:
Implemented as: UXF Client Action
Specify client action: Create New Record ManyToMany
Payload Map: I have mapped table, parentTable, parentRecordSysId, and sysId.
Action Model Fields: I am trying to set the default_value for field to "parent" and relatedField to "child", but I'm unsure if this is being handled correctly by the system.
I suspect I am missing the correct UX Add-on Event Mapping or that my Payload Map is incomplete for the cmdb_rel_ci table.
Has anyone faced this where the button shows up but the modal fails to trigger? Any guidance on the correct Event Mapping or Action Model setup would be greatly appreciated.
