Data lookups

Use the Data lookup page to create and manage data lookups, which can be used to retrieve data from third-party services.

After you create the data lookup, you can use the Data lookup form control or External data variables on your form to display data from third-party services.

When you configure the Data lookup form control in forms or use the external data variables, your third-party service data will be accessible to form designers and participants (end-users).

With data lookup permissions, you can manage access for other users to use, edit, and delete data lookups. For more information, see Assign data lookup permissions.

Note: Data lookups are not currently supported for embedded forms. For more information, see Find a form URL or snippet.

You can create data lookups for:

Access the Data lookup page

  1. On the top navigation bar, click Automate.

  2. On the left menu, click Data lookup.

Create a connection for your data lookup

You need to add a connection in your Nintex Automation Cloud tenant to configure a data lookup. You can use an existing connection to create a data lookup or if you want to use a new connection you must create the connection before you start configuring a data lookupn. For more information about creating a connection for your data lookup, see Connectors.

Caution:  Deleting a connection will impact all data lookups and forms (with Data lookup form control) using that connection.

Create a data lookup

Note:  As a designer, you should either have Owners or Users permission for the required connection in order to use it to create a data lookup. For information about connection permissions, see Assign User and Owner permissions to connections. By default, users with administrator role will have the same rights as Owners of a connection.

  1. On the Data lookup page, click Add new.
  1. In the Add new section, do the following:
    1. Type a data lookup name and description.
    2. Note: The name must not include any of the following characters: < > " ' ` \ / { } [ ] % $ # * ^ ! @ ~ ? = , ;

    3. Select a connector service and the corresponding operation. For example:
      • Connector: Google Directory
      • Operation: Get groups

      Note:  Once the data lookup is saved, the Connector and Operation fields cannot be edited.

    4. Select a Connection.
    5. Configure the data lookup fields depending on the selected connection. For information about a specific connection, see Connectors.

      Note:  Any of the optional inputs in this section that are unpopulated will be configurable in the Nintex Forms designer Data lookup form control.

    6. Click Save data lookup.
    7. The permissions dialog is displayed.

    8. In the permissions dialog, you can do the following:
      • In the Data lookup owners field, type the name of the user, and select from the list.
      • In the Data lookup users field, type the name of the user, and select from the list.

      For information on user permissions, see Assign data lookup permissions.

    9. Click Save permissions.
    10. The newly added data lookup is listed in the Data lookup page. You can now use a Data lookup form control to display a list of input values from the connected third-party service.

Assign data lookup permissions

Permissions enable you to manage access for other users to use, edit, and delete data lookups.

  Use

Edit

Delete

Assign
permissions

Connection owners

Data lookup editors

Data lookup users

Note: By default, users with administrator role will have the same rights as a Connection owner.

Data lookups columns, fields, and selections

Section Field or selection Description
Data lookups Name Name specified when the data lookup is added. Example: Google Directory - Get groups
  Description Description to identify the purpose of the data lookup.
  Connector Connector specified when the data lookup is added. Example: Google Directory.
  Connection Connection used to create the data lookup is added. Example: GoogleDirectoryConnection.
  Date created Date and time when the data lookup is added.
  Created by Name of the data lookup creator.
  Date modified Date and time when the data lookup is edited.
  Modified by Name of the user that last edit the data lookup.
  Options ()

Lists the following options for the selected data lookup:

  • Edit: Allows you to edit the data lookup configuration except for Connector and Operation fields.
  • Permissions: Displays the data lookup permissions dialog where you can edit data lookup permissions.
  • Delete: Displays the Deletedata lookup dialog where you can delete a data lookup.
Add new Data lookup name Name of the data lookup to be created.
  Description Description to identify the purpose of the data lookup.
  Connector Lists the available connectors.
  Operation Displays the operation available for the selected Connector. For more information, see Connectors and Xtensions.
  Save data lookup Adds the data lookup in the Data lookups page.
  Cancel Closes the Add new section.

Manage data lookups

Editing data lookups that are used in Data lookup form controls may impact the forms with the associated Data lookup form control.

You may encounter an error when editing a data lookup due to one of the following reasons:

  • It's an old data lookup and the operation for the data lookup may not exist or may have been updated.

  • The output of the Azure Active Directory - Query users action has been updated to include a collection variable named Users to store the properties of the users returned by the query. Existing Azure Active Directory data lookups created before the output of the action was updated will work but you may see an error if you try to edit existing Azure Active Directory data lookup. If you want to leverage the new functionality in your data lookup you must create a new data lookup. If you want to use a new Azure Active Directory data lookup or if you encounter an error when you edit an existing Azure Active Directory data lookup:

    1. Delete the existing Azure Active Directory data lookup.

    2. Create a new Azure Active Directory data lookup.

    3. If you have any Data lookup form controls using the old Azure Active Directory data lookup, reconnect it to the new data lookup.

Example: Using a data lookup

In this example we will guide you on how to create a SharePoint Online data lookup to retrieve data from existing SharePoint Online lists.

Let's say you are creating a job application form that lets the applicants:

  • Choose the following field values from a drop-down:
    • Job Location
    • Job Type
    • Job Title

    The field selections will filter down the list of jobs available in another drop-down to select.

  • Add applicant details
  • Submit the form

In this example, we will also set conditions so that when a job applicant selects the Job Location, the Job Type drop-down displays the type that is only available for the selected location and subsequently the Job Title.

Assuming that we have the following:

Troubleshooting

If you receive a publish error that states that you do not have permissions for data lookups used in the workflow or that data lookups used in the workflow have been deleted, attempt to resolve the error with these troubleshooting tips:

  • Verify that the relevant data lookups have been created on the tenant where the workflow has been imported. If needed, Create a data lookup in the correct tenant.

    Note: Importing custom Xtensions is not currently supported.

  • Contact your administrator to Assign data lookup permissions.

  • Update the actions and forms where the data lookup has been used and replace it with the new data lookup. If needed, Create a data lookup.