Custom UI action does not override the baseline Request Approval UI action for the Emergency change modelIssue A custom UI action was created to replace the baseline Request Approval behavior for Emergency changes. The custom UI action uses the same Action name and the same conditions as the baseline record, but it does not take over. When the baseline Request Approval button is selected on an Emergency change, the change moves to the Authorize state and the logic in the custom UI action is never enforced. Symptoms An Emergency change is opened, the mandatory fields are completed, and the record is saved.The Request Approval button is selected.The change moves to the Authorize state as expected for the Emergency model.The logic in the custom UI action does not run, even though its conditions match the baseline UI action.Messages or log statements added to the server side script of the custom UI action are never written, which shows the custom record is not being executed.Depending on the conditions, two Request Approval buttons may appear on the form, or only the baseline button may appear. Release You are most likely to see it under these configurations: A custom UI action is created on the Change Request [change_request] table with the same Action name as a baseline UI action, rather than on an extended table.The Emergency, Normal, or Standard change model is in use, where the model is selected through the Type field and not through a separate table.The baseline Request Approval button is a client UI action that relies on the state handler and the state model to move the record.The same pattern affects any other baseline change model transition button, such as Review, Schedule, or Implement, when someone tries to override it on the same table. Cause The UI action override mechanism only works across a table hierarchy. The documented procedure is to create a UI action on a table that extends the table holding the original action, using the same Action name. The Overrides field follows the same parent and child relationship. Emergency change is not a separate table. It is a change model, selected through the Type field on the Change Request [change_request] table. The baseline Request Approval action and the custom action therefore both live on the same table. The platform has no parent record to override in that case, so the two records coexist instead of one replacing the other. When both share the same Action name on the same table, which script runs depends on record order and query results, not on an override relationship. The change still moves to Authorize because the baseline Request Approval button is a client UI action. It calls the change state handler to ask the state model which state the record should move to next, sets the State field from that response, and submits using the baseline Action name. The transition itself is carried out by the state model and the Model State Transition records, not by the button script. The Emergency model defines the path from New to Authorize, so the record transitions correctly without ever reaching the custom UI action. Resolution Step 1. Confirm the behavior.Navigate to System Definition > UI Actions [sys_ui_action] and filter on Table is Change Request [change_request]. Compare the baseline record and the custom record field by field, including Action name, Order, Active, Client, Form button, List button, Onclick, Condition, and Application scope. Step 2. Check which button is being used.If the baseline condition still evaluates to true for Emergency changes, both buttons may render. Temporarily relabel the custom button so the two can be told apart, then confirm which one is clicked. Step 3. Confirm whether the custom script runs.Add a gs.info or gs.addInfoMessage statement at the top of the server side portion of the custom UI action and reproduce the steps. If nothing is written, the record is not executing and the problem is routing rather than script logic. Step 4. Review the change model transitions.Open the Emergency change model and review the Model State Transitions for the New to Authorize transition, including any conditions currently attached to it. Step 5. Recommended fix: enforce the logic on the transition instead of overriding the UI action.Create a Model State Transition Condition on the New to Authorize transition of the Emergency change model. In the Requires field, choose one of two options. Mandatory Fields blocks the transition until the named fields are populated. Transition Condition accepts either a condition builder expression or a script that must return true before the transition can proceed. This approach applies only to the Emergency model and does not modify baseline records, so it is upgrade safe. It also applies consistently whether the transition is triggered from the form button, a list action, or an integration. Step 6. Alternative, if different button behavior is required rather than validation on the transition.Give the custom UI action a unique Action name. Add a condition to the baseline Request Approval record that excludes Emergency changes so only one button renders per model. Make sure the client side onClick of the custom UI action submits its own Action name and not the baseline one. Modifying the baseline record is a customization and will appear as a skipped change during future upgrades, so it should be a deliberate decision.