Expression
Calculates a numeric formula from connected inputs.
Calculates a numeric formula from connected inputs.
When to use
Use it to combine, normalize, or transform up to the supported numeric inputs before a comparison.
Example
Calculate a percentage distance between current price and a reference value, then compare the result.
Calculate and check a percentage
Use Formula ($a - $b) / $b * 100, connect a current value 110 to A and a reference value 100 to B, and the illustrative Result is 10 percent. Both referenced inputs must be connected or otherwise valid in the execution context. The formula parser accepts a bounded expression language, not arbitrary JavaScript or a function named by a data provider. Check that B cannot be zero before relying on division; a parse-valid formula can still be mathematically invalid for a particular input. Expression produces a number, so a control path must reach the Condition that evaluates it.
Common problems
Keep the formula within the supported syntax and guard against missing inputs or division by zero.
Next steps
Review the generated Parameters, Outcomes, and Data Ports on this page, then open the related guides for the complete workflow.