Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Reference

Value Extractor Grooper.Extract

Delegates extraction to another configured extractor, enabling reuse and centralization of extraction logic.

Remarks

The Reference extractor enables you to reference a pre-configured extractor, such as a Value Reader, Data Type, or Field Class, to be executed in a data extraction workflow..

This allows you to centralize and reuse extractors across multiple Data Fields or Data Elements, promoting consistency and reducing duplication.

Overview

When executed, Reference runs the referenced extractor on the input Data Instance.
You can optionally specify an 'Output Group' to extract only a specific named group from the referenced extractor's results.

Configuration Guidance

  • Use Reference to share extraction logic between multiple fields or contexts.
  • Select the external extractor using the 'Extractor' property. This can be any Extractor Node, such as a Data Type, Field Class, or Value Reader.
  • Use the 'Output Group' property to extract only a specific named group from the referenced extractor, if needed.
  • Avoid circular references; you cannot reference an extractor that would create a loop.

Usage Scenarios

  • Shared Data Type:
    Define a Data Type for phone numbers, then use Reference in multiple Data Fields to extract phone numbers consistently across different forms.
  • Field Class Reuse:
    Reference a Field Class extractor to apply complex extraction logic (such as label-value pairs) in multiple locations.
  • Group Extraction:
    If the referenced extractor defines named groups (e.g., "AreaCode", "Number"), set 'Output Group' to extract only the desired group.

Diagnostics

When diagnostic logging is enabled, Reference records information about the referenced extractor, execution steps, and output results.

Diagnostic Artifacts

  • Execution Log:
    Logs the type and display name of the referenced extractor, its path, and the number of hits found.
  • Group Output Log:
    If 'Output Group' is set, logs the number of group matches returned.

These artifacts are accessible via the diagnostic interface and can be used to validate and tune your Reference configuration.

Properties

NameTypeDescription

See Also

Used By

Notification