Service Catalog topic blocks in Virtual Agent powered by NLU
Summarize
Summary of Service Catalog topic blocks in Virtual Agent powered by NLU
This topic explains how ServiceNow customers can leverage reusable topic blocks within the Virtual Agent powered by Natural Language Understanding (NLU) to facilitate Service Catalog item searches and requests. These topic blocks enable users to interact conversationally or through different render types to submit catalog item requests efficiently.
Show less
Key Features
- Search Catalog Item block: Allows searching for catalog items using keywords and optional catalog filters, returning results in a carousel view. Input parameters include search terms, catalogs to search, and result limits. Output includes the selected catalog item ID, type, and conversational capability.
- Request Catalog Item block: Enables users to request a catalog item by submitting required information. Input parameters include the catalog item ID, options for contextual search, confirmation prompts, and end state display. Outputs include the generated record ID, table, and item variables.
- Virtual Agent render types for catalog items: Catalog items can be rendered in Virtual Agent as conversational in-line dialogs, pop-ups, or windows, depending on the item’s complexity and configuration.
Conversational Request Mode Requirements
- Catalog items must have no more than 10 questions (default limit configurable) to be supported conversationally.
- Only specific variable types are supported, such as attachments, checkboxes, dates, emails, multiple choice (without pricing or advanced qualifiers), numeric, references (with record limits), single line text, and yes/no.
- Scripted client scripts for Now Mobile or Service Portal are not supported.
- Non-scripted UI policies must affect variables sequentially by order.
- Default or data lookup values are displayed to users and can be accepted or changed.
- Certain question types like lookup, select box, and multiple choice cannot be skipped.
- Search behavior differs by collaboration tool; for example, choice fields do not support search in Microsoft Teams.
Non-Conversational Render Types and Conditions
- Inline: Used when catalog item has 20 or fewer questions, no custom/UI page variables, and no multi-row variable sets.
- Pop-up: Used when catalog item has more than 20 questions but still no custom/UI page variables.
- Window: Used for catalog items with custom, custom with label, or UI page variables, or for specific item types like Content Item, Order Guide, Wizard, Launcher, or Standard Change Template.
- Rendering behavior can be controlled via system properties like
glide.sc.va.inlinerender.question.limitandglide.sc.va.rendertype.legacy.
Practical Benefits for ServiceNow Customers
By using these topic blocks and render modes, customers can design streamlined Virtual Agent conversations that enable end users to search, select, and request Service Catalog items efficiently. This improves user experience by providing contextual, guided interactions and flexible form rendering tailored to item complexity, reducing navigation and simplifying request submissions across multiple collaboration platforms.
You can design a topic conversation in the Virtual Agent powered by Natural Language Understanding (NLU) by including reusable topic blocks to perform request submission tasks.
Search Catalog Item
| Parameter | Description |
|---|---|
| query_term | Keyword to search for a catalog item. For information on configuring keyword search for a catalog item, see Configure keyword search for catalog items. |
| catalogs | Comma-separated list of catalogs where a catalog item should be searched for. |
| result_limit | Number of search results that should be displayed. By default, this number is set to 5. |
| Parameter | Description |
|---|---|
| catalog_item_id | If a catalog item is selected, sys_id of the item is returned. If no catalog item is selected, that is, None of these option is selected, -1 is returned. |
| item_type | sys_class_name of the catalog item that the user selected. |
| is_conversational | Specifies if the catalog item can be requested in the conversation mode in Virtual Agent. |
Request Catalog Item
You can use this topic block to request for a catalog item.
| Parameter | Description |
|---|---|
| catalog_item_id | sys_id of the catalog item that should be requested. |
| execute_contextual_search | Option to specify if the contextual search should be run for a record producer based on its configuration. For information on defining contextual search for a record producer, see Define contextual search for record producer. |
| confirm_catalog_item | Option to specify whether the user must confirm the catalog item before continuing with the next step. If this is set to false, user can answer the catalog items questions by skipping the confirmation. |
| show_end_state_card | Option to display the end state card information about the generated record to the user. |
| Parameter | Description |
|---|---|
| record_id | sys_id of the record that is generated after the item submission. If the catalog item is not supported in the conversation mode or if the user does not have access to the item, -1 is returned. |
| record_table | Name of the table in which the record is generated. |
| variables | Questions related to the catalog item. |
Virtual Agent render types
A catalog item can be rendered in Virtual Agent as a conversation, window, pop-up, or inline.
Catalog item request using a conversation render type
The following conditions must be met when a user requests a catalog item in the conversation mode in Virtual Agent powered by NLU.
- A catalog item cannot have more than the number of questions specified in the glide.sc.conversational.request.question.limit property. By default, this number is set to 10. For more information about this property, see Service Catalog properties.
- A catalog item can have non-scripted catalog UI policies. These UI policies should be defined such that variables are affected sequentially, that is, only a variable with the lower order affects a variable with the higher order.
- A catalog item cannot have catalog client scripts that are defined for Now Mobile or Service Portal.
- Only the following variables are supported:
- Attachment
- Check box (A group of check box variables isn't supported)
- Date
- Date/Time
- IP Address
- Label
- Lookup Multiple Choice (without pricing implications and advanced reference qualifier)
- Lookup Select Box (without pricing implications and advanced reference qualifier)
- Multiple Choice (without pricing implications)
- Multi Line Text
- Numeric Scale (without pricing implications)
- Reference (without pricing implications and advanced reference qualifier)Note:Reference type variables that correspond to a table that has more than 7000 records are not supported. The upper limit for the number of records can be specified in the glide.sc.va.reference_question_choices.limit property. By default, it is set to 7000.
- Requested For (without pricing implications and advanced reference qualifier)
- Rich Text Label
- Select Box (without pricing implications)
- Single Line Text
- URL
- Wide Single Line Text
- Yes / No
- Container variables
- The following variable attributes are supported:
- ref_ac_order_by
- allowed_extensions
- max_file_size
Note:All the other variable attributes are ignored in Virtual Agent. - A catalog item can have a single-row variable set but not a multi-row variable set.
- If a catalog item has a default value configured for a question, the default value is displayed in Virtual Agent, which enables the user to proceed with the default value without having to select it manually. The user can also choose a different value other than the default value.
- If a catalog item has a data lookup configured for a question, the setter value is displayed in Virtual Agent, which enables the user to proceed with the setter value or choose a different value. A catalog item with data lookup is not supported as a conversational item when the setter question precedes the matcher question.
- User cannot skip the following type of questions for a catalog item:
- Lookup Multiple Choice
- Select Box
- Lookup Select Box
- Yes/No
- Numeric Scale (If Do not select first choice configuration is not selected)
- Multiple Choice (If Do not select first choice configuration is not selected, or Include none choice configuration is selected)
- If the user is using Virtual Agent in a different supported collaboration tool like Microsoft Teams:
- Searching for a value using the search icon in choice type of fields is not supported.
Figure 1. Choice type fields in Microsoft Teams Figure 2. Choice type fields in Virtual Agent - Searching for a value in reference type of fields is performed in the form of a question.
Figure 3. Reference type fields in Microsoft Teams Figure 4. Reference type field in Virtual Agent
- Searching for a value using the search icon in choice type of fields is not supported.
- Inline
- Pop-up
- Window
| The catalog item form appears as | Conditions |
|---|---|
| Inline |
|
| Pop-up |
|
| Window |
|
Catalog item request using an inline render type
Catalog item requesters can submit a catalog item by filling the form inline in the Virtual Agent powered by NLU. While requesting a catalog item that’s marked with inline render type, the requester can fill the item and its options within the Virtual Agent conversation.
Catalog item request using a pop-up render type
Catalog item request using a window render type
A user can submit a catalog item request in a window. In a window, Virtual Agent provides a link for the user to submit the request in the Service Portal defined in the sn_itsm_va.com.snc.itsm.virtualagent.portal_url property. A non-conversational item is rendered as a window if it has a Custom, Custom with label, or UI Page variable.
- Content Item
- Order Guide
- Wizard Launcher
- Standard Change Template