Variables: numbers, text and yes/no values your logic works out
Create variables, set and change them with rules, and use them anywhere.
Where to find it: LogicHidden fields & variables
A variable holds a value your rules work out: a total, a band like Emerging, or a yes/no flag. Variables come in four kinds:
| Kind | Holds | Example |
|---|---|---|
| Number | A number you can do maths with | monthly_cost, risk_points |
| Text | A word or sentence | band = Emerging |
| Yes / No | True or false | qualified |
| Write-up | A paragraph picked by another value | See Write-ups |
Create a variable
- Open Hidden fields & variablesIn the Logic tab.LogicHidden fields & variables
- Add one under Your variablesGive it a name and a kind. Use names your team will understand.
You can also create one on the spot while writing a rule: type a new name into any variable picker.
Change a variable with rules
In a branching rule, choose an action under Then:
| Action | Does |
|---|---|
| Set | Replaces the value, with a number, text, another value, or a formula. |
| Add / Subtract / Multiply / Divide | Changes a number. |
| Apply function | Round, round down, round up, absolute value, square, square root. |
| Pick by rank | Stores the highest or lowest of several values. See Pick by rank. |
The page also lists
- Scores: your score dimensions. They're read-only here, so change points where you set them.
- Values from the link: your hidden fields.
- Questions: every answer is a value too. The ID on the right is its name in formulas and links.