Grooper Help - Version 25.0
25.0.0023 2,165
  • Overview
  • Help Status

Data Lookup

Data Action Grooper.Core

Performs external data lookups to validate or populate Data Elements.

Remarks

The Data Lookup action enables automated validation and enrichment of data in Grooper by querying an external data source, such as a database or web service. It is used within a Data Rule to ensure that extracted or user-entered values match authoritative records, or to supplement data by retrieving additional information from external systems.

Role and Usage

Data Lookup is typically configured as a step in a data processing pipeline, allowing Grooper to cross-reference document data with external sources. This can be used to:

  • Validate that a field or set of fields matches a record in an external system.
  • Populate additional fields or tables with data returned from a lookup.
  • Enrich document data with reference values, descriptions, or related records.

The lookup operation is defined by a Lookup Specification, which determines the external source, query criteria, and how results are mapped to Grooper data elements. Data Lookups can populate fields in a single data context or add records to a collection, such as a Data Table or repeating Data Section.

Populating Fields or Table Columns

To populate Data Fields or Data Columns in a Data Model, Data Section, or Data Table:

  1. Scope the containing Data Rule to the parent Data Model, Data Section, or Data Table which contains the target fields.
  2. Assign a Lookup Specification to the 'Lookup' property to define the external query.

Populating a Collection

To populate a Data Table or multi-instance Data Section:

  1. Scope the containing Data Rule to the parent Data Model or Data Section which contains the target collection.
  2. Set the 'Target Collection' property to the desired table or section.
  3. Assign a Lookup Specification to the 'Lookup' property to define the external query.
  4. Use the 'Clear Existing' property to control whether previous data in the target collection is removed before populating new results.

Diagnostic Artifacts

Data Lookup writes diagnostic messages to the log when:

  • The lookup operation fails or returns errors from the external source.
  • The target collection is not a valid collection type.
  • No results are returned, or multiple results are found (behavior depends on Lookup Specification settings).

These diagnostics assist in troubleshooting configuration issues, data mismatches, or connectivity problems.

Properties

NameTypeDescription
General
Info

See Also

Used By

Notification