Modifying UXF Client actions (Related list action) in UI builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2025 01:51 AM
Hey guys,
I created Add button (UXF Client action) for Affected CI on the related list in the Service Operations Workspace based on the instructions from https://www.servicenow.com/community/next-experience-articles/introduction-to-declarative-actions/ta...
Now, I would like to bind an event to this action in the UI builder that on click would check if Configuration item [cmdb_ci] is filled in on the task. If it is empty the Add button would not work and would create an alert message to fill in the Configuration item [cmdb_ci] field first.
I wanted to bind client script to this action, but I have two problems. First is that I can't find the Add button in UI builder and second is that Servicenow support says you can't bind client scripts to UXF Client actions.
1. Where should I be looking for the Add button in UI builder?
- based on UX Add-on Event Mappings Parent Macroponent
- Target event (Open modal)
- View
2.How to modify Add button to prevent adding Affected CIs if Configuration item field is empty?