Use Saved Values, Cue Data and Private Results

  1. 1Create a correctly typed Saved Value
  2. 2Set or read the value in a rule
  3. 3Choose shared data or a private result
  4. 4Test a real change and an unchanged value
Create a correctly typed Saved Value

Create a correctly typed Saved Value

Open Saved Values in Live Rules. Create a value with a descriptive name and choose the type that fits the data. Use a number for a threshold or a text value for a label.

Set or read the value in a rule

Set or read the value in a rule

Add an action that writes the value or select the value as an input to a compatible action. To react to changes, choose Saved Value changes under When where available and select the value to watch.

Choose shared data or a private result

Choose shared data or a private result

If the action offers Keep Result in This Run Only, use it when only subsequent actions or branches in this run should see the result. Use a shared result when another rule or overlay should read the value. Check text, numeric or list comparison options against the value type.

Test a real change and an unchanged value

Test a real change and an unchanged value

Run the sequence with sample data, then repeat it with the same value. Confirm the shared value changes only when intended. If watching a committed change, make sure the trigger does not loop through another rule.