ServiceNow form actions and buttons need configuration at the point that controls their availability or placement. To extend Create Outage to another task form, update its task-class condition. For workspace buttons, configure the form action layout item, then select the intended action layout on the page’s Form Controller.
Choose the setting behind the form action
Start with the action a user needs to perform and the form where they need it. A request to “add a button” leaves two questions unanswered: which records should offer the action, and where should the action appear? Resolve those questions before changing a condition or rearranging a workspace.
For Create Outage, the relevant configuration is a UI Action on Task [task]. For a declarative workspace action, the appearance settings belong to a UX Form Actions Layout Item. The workspace page receives its selected UX Form Actions Layout through the Form Controller. If no layout is assigned there, the workspace chooses one by specificity, and a tie goes to the layout with the lower Order value, so assign the layout directly to make the result predictable. Write those record names into your change plan so the implementation has a clear boundary.
Use three acceptance statements: the intended task class offers the action, the intended workspace page uses the selected layout, and the button appears in the agreed position. Treat these as separate checks. A screenshot of the button does not demonstrate that the task-class condition is correct.
If the wider page structure is unfamiliar, start with the guide to UI Builder and workspaces. The steps below use Brazil behavior; check the configuration against your instance and release before making the change.
Extend Create Outage to another task form
The Create Outage UI action is available by default on incident and problem forms. Adding it to another task form requires the admin role. The change is made on the existing Task UI Action, so first establish the exact task class that should be included and whether the existing classes should remain eligible.
- Navigate to All > System Definition > UI Actions.
- Open the UI Action named Create Outage on Task [task]. Confirm both its name and table before editing.
- Inspect the Conditions field. The default expression is current.getRecordClassName() == ‘incident’ || current.getRecordClassName() == ‘problem’.
- To include Ticket [ticket] while retaining those two classes, use current.getRecordClassName() == ‘incident’ || current.getRecordClassName() == ‘problem’ || current.getRecordClassName() == ‘ticket’.
- Select Update to save the change.
The comparison values identify record classes. Keep the technical class name distinct from the wording a requester uses for a form. In the Ticket example, ‘ticket’ is the value being tested. Copying the business label into the condition would be a different expression from the one shown here.
Decide whether you are extending eligibility or narrowing it. To restrict this UI action to Problem [problem], use current.getRecordClassName() == ‘problem’. That expression removes the incident comparison. Review the intended set of classes before saving so a request to add Ticket does not accidentally become a request to replace Incident and Problem.
For validation, prepare one record from each class you intend to retain or add, plus a class you intend to exclude. Record the observed action availability against the requested scope. This is a recommended test plan for the condition change; do not treat success on one ticket as evidence for the other classes.
Write the expected class set beside the expression before testing: incident, problem, and ticket for the extension example; problem for the restriction example. This makes the difference visible to a reviewer who does not read JavaScript fluently. After selecting Update, reopen the UI Action and compare its saved Conditions value with that agreed set.
Configure the workspace button’s layout item
For a declarative workspace button, begin after the declarative action has been created and its button added to the workspace. Configuring a form action layout item requires the admin role. This step sets how the action looks and where it is ordered beside the other buttons on that table’s layout.
- Navigate to All > Declarative Actions > Form Actions.
- Select the form action to open its Action Assignment record.
- In the Layout Items related list, open the intended layout item. This opens a UX Form Actions Layout Item record.
- Review Name, Label, Item Type, and Action. Action names the form action this item stands for, and it only matters when Item Type is Action.
- Set the placement and appearance fields, then select Update.
Use Label for the displayed wording and Name to identify the layout item. Table sets the record type whose form shows the button. Order sets where the button falls among the other actions. Active turns the layout item on or off. Review these fields together when a button is associated with an unexpected table or appears in an unexpected sequence.
Selecting Overflow moves the button into the overflow menu instead of the visible row. Before changing it, agree whether the action should occupy a visible position or be reached through that menu. An action intentionally placed in overflow needs a different acceptance check from one expected beside the form’s other buttons.
Icon and Color control appearance. Choose those after the label and placement are settled, and record the selected values for review. For related work on the action itself, use the guide to declarative action buttons in Configurable Workspace.
Connect the action layout to the workspace page
A configured layout still needs to be selected on the workspace page. Adding a UX Form Actions Layout to that page requires the admin role. Start with the workspace experience and identify the record page where the user expects the actions, rather than choosing a page because its name looks familiar.
- Open the workspace experience in UI Builder.
- Select or create a page containing the Form component, such as a record page.
- In the Data and scripts tree, select Form Controller.
- Open Configure and expand Advanced.
- In Action layout, select the intended UX Form Actions Layout record.
- Select Save.
The workspace page displays the actions specified by that layout record. For your change record, capture the selected page and layout together. This gives a reviewer a direct comparison between the intended association and the saved configuration instead of leaving them to infer it from the visible button text.
For help planning this work, see ServiceNow implementation.
During review, ask another maintainer to locate the chosen layout from the saved page configuration and then identify the intended item. If the review requires guessing between similar labels, improve the change notes with the item Name, Table, and expected position. Keep the review focused on the values that were changed rather than documenting unrelated workspace settings.
Check availability, placement, and behavior separately
Use the reported symptom to choose the first inspection. If the issue concerns Create Outage on an additional task class, compare the saved Conditions expression with the intended classes. If it concerns a workspace action’s position, inspect the layout item’s Order and Overflow values. If a page shows an unexpected action set, inspect its Form Controller selection.
Change one relevant setting at a time during diagnosis. Keep the previous value in the change record and compare the result with the acceptance statement it addresses. Reordering a workspace item cannot show that the Create Outage expression includes the right task class.
Once availability and placement match the request, exercise the action through the intended user journey in a test environment. Record the starting record, the action selected, and the expected result. For work that continues into page interactions, the guide to UI Builder data resources and event handlers provides the next area to investigate.
Questions about less common form button choices
Is Create Outage also available on change requests?
For new instances from Jakarta, the feature is also available on the change request form. Include that instance history when assessing an existing change form rather than assuming its starting configuration matches an incident form.
Can a layout item represent a group?
Yes. Set Item Type to Group and In the Group field, pick the layout group this item places on the form.. Use the Action field when Item Type is Action. Choose the type according to what the layout item represents.
Where can maintainers record the item’s purpose and scope?
Description is a note for maintainers. Application records the scope the action belongs to. A concise description can explain why the item was added and which requested journey it supports without lengthening the user-facing label.
Can the button use the ServiceNow Otto icon with animation?
Enter ai-sparkle-fill in the Icon field to show the ServiceNow Otto mark, and tick Animate icon if the button should animate on hover. Keep that visual decision tied to the action’s purpose so the icon communicates something meaningful to the person using the form.