2021:Data Rule (Node Type)

From Grooper Wiki
Revision as of 13:29, 4 January 2021 by Dgreenwood (talk | contribs) (Created page with "<blockquote style="font-size:14pt"> The '''Data Rule''' object allows for complex validation and manipulation of a '''Data Model's''' '''Data Elements''' ('''Data Fields''', '...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Data Rule object allows for complex validation and manipulation of a Data Model's Data Elements (Data Fields, Data Sections, and Data Tables) in Grooper.

This allows users to create a conditional hierarchy of actions to take if certain conditions met. These conditions are configured using .NET, LINQ and/or lambda expressions. When the expression is "triggered", either evaluating to "true" or "false", certain actions can be made. These include:

  • Calculate Value - This action sets the value of a Data Field or cells a Data Column, using calculate expressions to perform mathematical or concatenation operations of Data Elements.
  • Clear Item - This action clears the value of a Data Element.
  • Copy Item - This action copies or moves the value of a Data Element.
  • Parse Value - This action uses a regular expression pattern to return part of a Data Field's value or cell in a Data Column's value.
  • Raise Issue - This action adds an issue to the issue log, used for validating a Data Element. This action can also be used to flag the Data Element.

These trigger conditions and subsequent actions set on the Data Rules objects are executed through the Apply Rules activity.