Check Scheme State
Check Scheme State
True
False
- Group
- Conditions
- In the node menu
- Conditions › Scheme › Check Scheme State
- Where it can be used
- Scheme graphs
What it does
Section titled “What it does”Check Scheme State asks about the scheme itself. It can ask whether the scheme has ended, or what its result is so far: neutral, success or failure. The flow goes on through True or False, so a scheme can act on its own outcome.
Example
Section titled “Example”Check Scheme State
The result is a success
True
False
When to use it
Section titled “When to use it”Use it where a flow must act differently once the scheme has a result, for example in the closing part that runs after the End flow has started.
Use Succeed Scheme and Fail Scheme to set the result, and End to run the closing steps.
Good to know
Section titled “Good to know”- A result is neutral until a Succeed Scheme or Fail Scheme node has set one.
- Has Ended is True once the End flow has started.
- The node is offered only in scheme graphs. If it runs in a flow that has no scheme, it stops the flow.
- Unlike the other checks of this group, it has no extra conditions and no NOT. It is also not a condition row.
Settings
Section titled “Settings”| Label | Draft key | Type | Default | Shown if, tooltip and notes |
|---|---|---|---|---|
| Check | State |
| "HasEnded" | Has Ended: the End flow has started. Neutral: no Succeed or Fail Scheme node has run yet. |
Outputs
Section titled “Outputs”- True
- False
In a draft
Section titled “In a draft”"type""Check Scheme State""set"keysState"then"keys"True","False"
"<alias>": { "type": "Check Scheme State", "then": { "True": "<alias>", "False": "<alias>" }}