Generate modules using Now Assist
Use Now Assist to generate modules for your application by entering natural language prompts instead of manually configuring them.
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.
Role required: admin
About this task
Use Now Assist to generate modules by providing prompts in natural language. The AI agent analyzes your prompt to identify the module type and key parameters, such as table names, views, roles, filters, and arguments. It then generates the requested modules.
Procedure
Result
| Symptom | Cause | Resolution |
|---|---|---|
| Module generation creates the wrong module type | The prompt did not clearly indicate the intended module type. | Specify the module type explicitly in the prompt (for example, "Create a list module" or "Create a URL module"). Alternatively, select a module type from the available options before entering the prompt. |
Create five modules
- In the Tell Now Assist what you want field, enter the following prompt:
Add: - a single record module called "Test Record", - an URL with arguments "url=https://example.com" and window name "External", - a list called "My Tasks", - a script called "Data Cleanup Script" with arguments "var gr = new GlideRecord('task'); gr.query();" and window name "Cleanup" - a dashboard module - Select Generate.The system creates five modules:
Table 2. Module types Module Type Description Test Record Record A basic configuration without any additional parameters. URL Direct Contains parsed arguments: `url=https://example.com` and a window name: "External." My Tasks List A basic list configuration. Data Cleanup Script Script Includes parsed script arguments and a window name: "Cleanup." Dashboard Dashboard An empty dashboard module. - Select Accept and edit.
- (Optional) If needed, add, or rearrange modules.
- Select Done to finish.