Skip to content
Pattern by Knoveya

Conditional Logic & Branching

Knoveya

Make conditional paths explicit with understandable criteria and default behavior.

Design intent

Make conditional paths explicit with understandable criteria and default behavior.

When to use

Use this pattern when its control or information directly helps the current task. Start with a real user scenario rather than adding an AI-themed affordance by default.

Example

Route a low-confidence extraction to manual review.

This is an illustrative Knoveya scenario, not a claim about a particular shipped product.

Implementation checklist

  • Define the trigger, visible state, allowed action, and completion condition.
  • Unhandled or contradictory conditions do not trigger arbitrary actions.
  • Cover missing input, unavailable permissions, interrupted work, and partial results where they apply.
  • Keep keyboard focus, labels, and recovery behavior understandable without motion.

Trade-offs

Extra controls or explanations add reading and decision effort. Prefer the smallest presentation that exposes the relevant consequence. Do not display a guarantee, metric, or permission that the underlying system cannot enforce.

Verify

Reproduce the example with synthetic data and deliberately trigger its failure path. Unhandled or contradictory conditions do not trigger arbitrary actions.