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

Data Rule

Node Grooper.Core

Defines a data manipulation rule which applies to a Data Model, Data Section, or a Data Table.

Remarks

DataRule objects define automated data manipulation logic that can be applied to extracted document data for normalization or preparation for downstream processes.


Overview

Data Rules allow you to:

  • Normalize extracted data after the extraction process, keeping extractors focused on data location rather than transformation.
  • Apply logic to Data Model, Data Section, or Data Table elements, depending on the configured scope.
  • Chain and nest rules for complex, hierarchical data processing.

How Data Rules Work

  • At runtime, a Data Rule is applied to each instance of its associated Data Element.

  • Data Rules can include a Trigger expression (optional):

    • If the trigger evaluates to true, the True Action and all child Data Rules are executed.
    • If the trigger evaluates to false, the False Action (if specified) is executed, and child rules are skipped.
  • Data Rules may be nested, allowing recursive application of logic to the data hierarchy.


Key Properties

  • Scope: The Data Element this rule applies to.
  • Trigger: A code expression (boolean) that determines if the rule executes.
  • TrueAction: The Data Action to execute when the trigger is true.
  • FalseAction: The Data Action to execute when the trigger is false.
  • RequiredElements: (Obsolete) Elements that must be present when the trigger is true.
  • ShortcutKeys: Optional shortcut for use in the Data Viewer tab.

Example Usage

Suppose you have a Data Table of invoice line items and want to ensure each row has a non-empty "Amount" field:


Related Concepts


Notes

  • Data Rules are typically used to enforce business rules, perform data cleanup, or trigger additional processing steps.
  • Use the Trigger property to conditionally execute rules based on data values.
  • For complex scenarios, nest Data Rules to build multi-step logic.

For more information, see the documentation for Data Action, Data Model, and related data extraction objects.

Premium Feature

Data Rule is premium feature which requires separate licensing. To view your current licensing entitlements, select the Root on the Design page, then select the Licensing tab. Contact your BIS account representative to inquire about premium features.

Properties

NameTypeDescription

Design Tabs

General View or edit properties of a node.
Reports View reports for a node.
Tester Test the rule against documents in a test batch.
Advanced View or edit advanced details about a node.

Child Types

See Also

Used By

Notification