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

Data Action

Embedded Object Grooper.Core

Data Actions are data manipulation operations which can be used to normalize and convert extracted document data.

Remarks

DataAction defines a reusable, configurable operation that manipulates or validates data within a Data Rule.


Overview

Data Actions provide a set of primitives for:

  • Assigning or transforming field values
  • Parsing and distributing values to other fields
  • Copying or moving data between elements
  • Performing lookups and validations
  • Executing custom logic as part of a data processing pipeline

Data Actions can be composed into hierarchies, allowing complex, multi-step data transformation and validation logic to be built from simple, focused operations.


Usage

  • Data Actions are typically assigned to the TrueAction or FalseAction properties of a Data Rule.
  • At runtime, the action's Apply method is invoked for each relevant data instance.
  • Actions may reference source and target scopes, and can be nested for advanced scenarios.

Extensibility

To implement a custom Data Action:

  1. Inherit from DataAction.
  2. Override the Apply method to define your logic.
  3. Optionally, expose additional properties for configuration and UI.

Related Concepts

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

Properties

NameTypeDescription

Derived Types

There are 14 implementations of Data Action.

Action List Executes a sequence of Data Actions.
Append Appends one or more elements to a collection.
Calculate Value Calculates the value of a field using an expression.
Clear Item Clears the value of a data element.
Concat Combines adjacent records in a collection based on a configurable trigger expression.
Copy Copies or moves data from one data element to another.
Data Lookup Performs a lookup operation to validate and/or populate field values within a data extraction process.
Execute Rule Executes a Data Rule.
Extract From Sets a field value by running an extractor on another field.
Fill Executes a selected Data Fill Method on the current Data Model, Section, or Table.
Parse Value Parses a field value into substrings using a regular expression and assigns them to sibling fields.
Raise Issue Adds an issue to the issue log.
Remove Conditionally removes records from a collection such as a Data Section or Data Table.
Require Value Requires that one or more data elements have a value set.

Used By

Notification