Define default instructions for ServiceNow AI Lens

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • Create a system property to define default instructions for ServiceNow AI Lens execution on a specific form.

    Antes de Iniciar

    Role required: admin

    Por Que e Quando Desempenhar Esta Tarefa

    You can define default instructions for specific forms to create or update records using ServiceNow AI Lens in a ServiceNow instance. This helps streamline the request process by eliminating the need for users to manually enter the same instructions each time. The defined instructions are automatically included in all ServiceNow AI Lens requests for that form or table.

    When users provide additional instructions through the ServiceNow AI Lens UI, those instructions are appended to the default instructions. If there is a conflict between user input, application-generated instructions, and system-defined defaults, ServiceNow AI Lens instructs the LLM to prioritize the user-provided input.

    Procedimento

    1. In the filter navigator, enter sys_properties.list and press Enter.
    2. Select New.
    3. On the System Property form, fill in the details.
      Tabela 1. Default instructions system property
      Field Description
      Name sn_lens.prompt.<tablename>

      Replace <tablename> with the internal name of the table. For example, sn_lens.prompt.incident.

      Value Enter the default instructions. For example - Suggest a suitable start date for this incident based on the incidence type and urgency.
    4. Select Submit.