Check
- Group
- Conditions
- In the node menu
- Conditions › Check
- Where it can be used
- Scheme graphs
What it does
Section titled “What it does”Check asks a list of conditions and continues through True or False. The list takes conditions of any kind. The conditions are joined by AND or OR, and each one can carry NOT. The node has no condition of its own: every one is a row of the list.
Example
Section titled “Example”No scheme of the demo uses this node, so there is no card here. The page Fewer nodes for the same graph shows how a Check replaces a chain of named check nodes.
When to use it
Section titled “When to use it”Use it for a condition that has no node of its own. Memory, Budget, Joined by Marriage, Age Group and Has Modifier are kinds that exist only as rows. Use it too when one question mixes kinds, such as an age and a marriage.
Use a named check such as Check State or Compare Age instead when one question is enough. A named check starts with its own condition and settings; Check starts empty.
Good to know
Section titled “Good to know”- An empty list is met at once, so the node continues through True. The card shows the error “Add at least one condition.” and the line “Checks …”.
- AND binds tighter than OR. A row is not asked when its answer can no longer change the result.
- When a condition has no answer, for example its actor is not there, and the other conditions do not settle the result, the flow stops at the node. The stop text names the number of the condition.
- With up to three conditions the card writes one line each, later ones starting with “AND” or “OR”. With more, it writes one line per group, with at most three conditions on a line and “+N” for the rest. With more than three groups, the third line counts the groups left.
- The list is the same kind of list that Wait Until waits for.
Settings
Section titled “Settings”| Label | Draft key | Type | Default | Shown if, tooltip and notes |
|---|---|---|---|---|
| Conditions | Conditions | rows of ConditionData | not in the data |
Outputs
Section titled “Outputs”- True
- False
In a draft
Section titled “In a draft”"type""Check""set"keysConditions"then"keys"True","False"
"<alias>": { "type": "Check", "then": { "True": "<alias>", "False": "<alias>" }}