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

Calculate Value

Data Action Grooper.Core

Calculates the value of a field using an expression.

Remarks

SetFieldValue is a Data Action that computes and assigns a value to a Data Field or custom variable using a code expression.


Overview

  • Use this action to perform calculations, normalization, or value assignments after extraction.
  • The value can be set on a specific Data Field or stored as a custom variable on the Batch Folder.
  • The calculation is defined by the ValueExpression property, which supports code expressions referencing other fields or context.

Usage Scenarios

  • Calculate a field value:
    Assign a computed value to a field, e.g., Subtotal + Tax.
  • Set a custom variable:
    Store a value for use in custom activities or downstream processes.
  • Conditional assignment:
    Use PreventOverwrite to avoid changing existing values.
  • Source/Target context:
    Use ComputeFromTarget to evaluate the expression in the target scope (useful for copy/append operations).

Example


Related Concepts

For more information, see the documentation for Data Action, Data Rule, and Data Field.

Properties

NameTypeDescription
General
Info

See Also

Used By

Notification