Use case: Generate modules using Now Assist
Summarize
Summary of Use case: Generate modules using Now Assist
This use case demonstrates how a ServiceNow administrator can efficiently create and configure multiple application menu modules using natural language prompts with the Now Assist feature. It addresses the challenge of manually configuring each module individually, which can be time-consuming and error-prone, especially when dealing with multiple modules in custom applications.
Show less
Key Features
- Natural language module generation: The admin provides a single descriptive prompt for all required modules, and Now Assist automatically identifies module types and key parameters.
- Multiple module types supported: Includes lists, forms, dashboards, URL links, and folders.
- Single-step creation: All specified modules are generated simultaneously, reducing manual input and configuration effort.
- Post-generation review and editing: The admin can review each generated module, adjust settings such as table names, roles, views, and window names, and reorder modules before finalizing.
Configuration Steps
- Ensure the UI generation plugin is installed and the user has the uibuilderadmin role.
- Navigate to All > Now Experience Framework > UI Builder, then select Create menu.
- Name the application menu (e.g., "Warehouse Operations") and create it.
- On the Add modules page, choose to generate multiple modules at once using Now Assist.
- Enter a natural language prompt describing all required modules (e.g., lists, forms, dashboards, URL modules, folders).
- Select Generate to create the modules.
- Review each module, select Accept and Edit to adjust configurations as needed.
- Rearrange modules if necessary, then finalize by selecting Done.
Key Outcomes
The administrator can rapidly create a fully configured application menu containing multiple diverse modules in a streamlined workflow. This approach minimizes manual configuration steps, reduces the risk of errors, and delivers ready-to-use modules accessible immediately via the application navigator.
Create and configure application menu modules using natural language
Scenario
A ServiceNow admin at a logistics company is building a new custom application for managing warehouse operations. The application menu should include multiple modules: a list of active tasks, a form for logging new incidents, a dashboard for warehouse KPIs, a link to an external supplier portal, and a folder for organizing reporting modules. Configuring each module individually through the standard UI would require navigating multiple forms and configuration screens.
Problem
Creating and configuring each module in the UI Builder manually can be time-consuming and repetitive, particularly when multiple modules are required simultaneously. Each module type includes its own set of configuration fields, including table names, filters, roles, views, and window settings. As a result, the administrator must fill in these fields individually. When dealing with an application with five or more modules, this process can take considerable time and is prone to configuration errors.
Solution
Using the Module generation feature, the admin provides a single natural-language prompt that describes all required modules. The AI agent analyzes the prompt, identifies the appropriate module types and key parameters, and generates all modules in a single step. The admin then reviews each generated module, makes any necessary adjustments, and saves the complete application menu.
Before you begin
Make sure that you install UI generation and that you have the ui_builder_admin role. For more information, see Install UI generation and Grant UI Builder admin role.
Configuration steps
- Navigate to .
- From the application navigator, select All, then select Create menu.
- Enter a name for the application menu (for example, Warehouse Operations) and select Create.
- On the Add modules page, select Generate multiple modules at once using Now Assist.
- Enter the following prompt: Create a list of active warehouse tasks, a new record form for logging incidents, a KPI dashboard called Warehouse Overview, a URL module linking to https://supplier-portal.example.com with window name Supplier Portal, and a folder called Reports.
- Select Generate.
Now Assist creates five modules and displays an AI indicator next to each.
- Review each module. Select Accept and Edit for each module to confirm and adjust configuration fields such as table name, role restrictions, or view settings.
- Rearrange modules if needed, then select Done.
Outcome
The administrator creates and configures a five-module application menu within a single workflow. The resulting modules are immediately ready for use in the application navigator.