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

Remove

Data Action Grooper.Core

Conditionally removes records from a collection such as a Data Section or Data Table.

Remarks

The Remove action is used to delete one or more records from a collection based on a Boolean expression.

Usage

  • Add a Remove action to a Data Rule to automate the removal of records from a collection.
  • Set the 'Collection' property to specify the target Data Section or Data Table.
  • Optionally, configure the 'Trigger' property with a Boolean expression to determine which records are removed.

How it works

  1. The action iterates over each record in the specified 'Collection'.
  2. For each record, the 'Trigger' expression is evaluated.
  3. If the expression returns true (or if no trigger is specified), the record is removed.

Example

Suppose you have a "Line Items" table and want to remove all rows where the "Amount" field is zero:

  • Set 'Collection' to the "Line Items" table.
  • Set 'Trigger' to Amount == 0

This will remove all rows with a zero amount.

Related Concepts

Properties

NameTypeDescription
General
Info

See Also

Used By

Notification