km_add_calculation
Add a calculation action to a macro to set a variable to the result of an expression, like incrementing a counter or computing totals.
Instructions
Add an action to set a variable to the result of a calculation (e.g., "Counter + 1").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable | Yes | Variable name to set | |
| expression | Yes | Calculation expression (e.g., "Counter + 1", "Price * Quantity") | |
| macroIdentifier | Yes | Macro name or UID |