Skip to navigation

Form Fillability ServiceNow Error Guide

View as Markdown

This guide contains information on the errors you might encounter with Form Filling with the Moveworks bot on your ServiceNow instance.

ServiceNow errors

Why isn’t my form fillable in Moveworks?

There could be a few reasons why a form is not fillable in Moveworks. We have outlined some of the most common issues we’ve seen across our customers and provide guidance on how to remediate the issues. You can refer to the specific error message to help you figure out why your form is not fillable in your bot. If you need further consultation or guidance, you can reach out to Moveworks Professional Services.

  1. Moveworks is unable to retrieve all the information about the form
    1. Reference/Choice Field Options
      1. The Moveworks account doesn’t have access to a field’s reference table
      2. Moveworks has access to a reference table, but is unable to find the display column from that table because it lacks access to the sys_dictionary table.
      3. Moveworks has access to the reference table / display column, but the table has too many rows to process (over 100,000)
    2. UI Policies / Actions
      1. Moveworks doesn’t have access to read the UI policies/actions on the form (access to the catalog_ui_policy and catalog_ui_policy_action tables)
  2. The form isn’t supported (and unlikely to ever be)
    1. Unsupported field type
      1. There are some older/deprecated field types that cannot be rendered within the chat UI. Moveworks can usually help you find alternative field types to replace these.
    2. Unsupported UI policy
    3. Has Client Scripts, an advanced UI policy that contains JavaScript, or Variable Validation Regex.
      1. If the client script is not active in the Service Portal view (also called catalog item view), the form will still be supported.

Unsupported script: client script / variable set

Client script error messages

  • Form contains unsupported (variable set) client script named {script_name} with script ID {script_id}

Why client scripts aren’t supported

Moveworks does not support client scripts.

Fix an unsupported client script

Please either remove the script on associated with the form, we recommend moving the logic to a business rule running on the sc_req_item table, or moving the logic to the workflow associated with your catalog item.

Unsupported script: UI policy script

UI policy script error message

UI policy {policy_name} contains scripts

Which UI policies are supported

Basic UI policies are supported given that they:

  1. Client side UI scripts are not supported
  2. Are not applied to any container-like field types (including CheckBox containers).
  3. Do not contain Javascript i.e; advanced UI policies
    1. Note: Catalog & UI Policy scripts cannot be ignored by Moveworks.

Fix an unsupported UI policy script

Please either remove the script on associated with the UI Policy, we recommend moving the logic to UI Policy actions, moving the logic to a business rule running on the sc_req_item table, or moving the logic to the workflow associated with your catalog item.

Unsupported form type: order guide

Order guide error message

  • Order guide forms are not supported for in-chat filling

Why order guides aren’t fillable in chat

Moveworks does not support order guides (which are collections of forms) for filling in-chat, though we do allow displaying links to these forms. However, Moveworks does support showing individual forms that make up an order guide as fillable in-chat.

Unsupported form type: manual forms

Manual form error message

  • Forms manually defined in Moveworks are not fillable

Why manually defined forms aren’t fillable

Moveworks supports showing forms that are links to customer-defined webpages. These forms links are manually defined in Moveworks. Since these are not form structures from an ITSM system that Moveworks is integrated with, they are not fillable in chat.

Record producer

Record producer error message

Record producer forms must be manually verified to be working correctly

Record producer requirements

Moveworks only supports record producers if the record producer meets the following criteria:

  1. The record producer must create a ticket that is available in Moveworks Concierge. You can configure your ticket table for Concierge using Moveworks Setup.
  2. The record producer must be built with Generated Record Data from Variables only, not from a Template.
  3. The record producer script must not use gs.getUserId() or any other GlideSession APIs functions. This can lead to strange behavior where the caller field on the resulting ticket belongs to the service account rather than the employee that filled out the record producer.
    1. Instead, Moveworks recommends adding a variable on the Record Producer for the requesting user e.g: requested_for . In your record producer script, be sure this value is set to the appropriate requestor value on the target ticket table. For e.g. caller_id, opened_for, opened_by, etc.

    2. If you have any other variable that captures the requested user, it must be added to the Form requester field names shown below, so the Assistant can set that variable:

    3. Note: the script line containing getUserId() must be fully removed rather than commented out

Fix an unsupported record producer

Please make the modifications described above to get your record producer supported.

Unsupported field type

Unsupported field type error message

Field type {field_type_name} is unsupported

Why a field type is unsupported

Certain field types are not supported by Moveworks due to limitation of your chat application.

Fix an unsupported field type

Please see the supported form filling behaviors by chat platform chart below. Please consider remove or update those fields.

Form Field Type Conversion

SystemExternal Field TypeMoveworks Type
ServiceNowGroupSupported: No experience implications
ServiceNowYes/NoDropdown: Single
ServiceNowMulti Line TextText: Multi-line
ServiceNowMultiple ChoiceDropdown: Single
ServiceNowNumeric ScaleDropdown: Single
ServiceNowSelect BoxDropdown: Single
ServiceNowSingle Line TextText: Single line
ServiceNowCheckboxCheckbox: Single
ServiceNowReferenceDropdown: Single
ServiceNowDateDate
ServiceNowDatetimeDatetime
ServiceNowLabelSupported: No experience implications
ServiceNowBreakUnsupported
ServiceNowMacroUnsupported
ServiceNowUI PageUnsupported
ServiceNowWide Single Line TextText: Single line
ServiceNowMacro with LabelUnsupported
ServiceNowLookup Select BoxDropdown: Single
ServiceNowContainer StartSupported: No experience implications
ServiceNowList CollectorDropdown: Multiple
ServiceNowLookup Multiple ChoiceDropdown: Single
ServiceNowHTMLText: Single line
ServiceNowContainer SplitUnsupported
ServiceNowMaskedUnsupported
ServiceNowEmailText: Single line
ServiceNowURLText: Single line
ServiceNowIPUnsupported
ServiceNowDurationUnsupported
ServiceNowRequested ForDropdown: Single
ServiceNowAttachmentUnsupported

Missing field options

Missing field options error message

Only simple reference qualifiers are supported but field used qualifier {javascript_code}

Why field options are missing

Moveworks only supports ingesting field options filtered by a simple reference qualifiers.

Fix missing field options

Please consider remove the dynamic / advanced reference qualifiers. Dynamic or advanced reference qualifiers are generally used to control the users options - it may be possible to remove this field entirely, and make the choice programmatically within the workflow (or a business rule) based on other options the user selects.

Simple reference qualifiers example:

Too many field options

Too many field options error message

The filtered reference table {table_name} contains more than 150000 rows

Why there are too many field options

Any dropdown can only contain less than 150,000 rows.

Fix too many field options

Please consider adding a simple reference qualifier or removing the dropdown field.

Insufficient API access

Insufficient API access error message

Insufficient API access to table_name and/or script columns of sc_cat_item_producer

Table API access issues

Table API access issues.

  • API used: {servicenow_url}/api/now/v2/table/{table_name}
  • Moveworks needs access to certain tables for our forms integration. The error message will mention the table to which we don’t have access. It is possible that we have access to the table, but not the columns in the table that we need.

Catalog API access issues.

  • API used: {servicenow_url}/api/sn_sc/v1/servicecatalog/items/{id_of_form}
  • Moveworks needs access to this endpoint for all form ID’s you would like to display in-chat. Sometimes, customer access control may limit API access to specific forms at this endpoint.
  • To mitigate, check the “Available for” section for this specific catalog item and ensure our service account is included in the criteria

Other:

  • Verify the Moveworks integration user can read the catalog_script_client table. Missing access may cause the catalog API’s display value (“All”) to be used instead of the raw value (“10”).

Fix insufficient API access

Please consider providing the appropriate access for the appropriate Table API table or the Catalog API.

Chat app specific issues

Slack issues

Field options Text length too long

Field option text length error message

‘Form field option is longer than 75 characters’: {field_option_value}

Why the field option text is too long

Slack only supports displaying field option value less than 75 characters.

Shorten the field option text

Please consider shorten the field option value on your ITSM. In certain cases, Moveworks will truncate the field option value when displaying.

Read only fields

Read-only field error message

Form contains read only fields

Why read-only fields aren’t supported

Slack block-it API does not support rendering a read-only field.

Fix read-only fields

Please consider remove the UI policy that marks a field as read-only or convert the field to a label.

Form contains a field whose label is empty

Empty field label error message

Form contains a field whose label is empty

Why an empty field label fails

We require that the question text of a field is non-empty.

Add the missing field label

To solve this issue, add a question text (eg: “What date are you requesting?).