Fluent Commerce Logo
Docs

Getting Started with Reference Sourcing Conditions

How-to GuideStep-by-step guides to achieve a specific scenario or setup.

Author:

Kirill Gaiduk

Changed on:

3 Sept 2026

Key Points

  • Master the Core Mechanism: Path Conditions extract values from the Sourcing Context, apply an operator, and evaluate them against configured value. Readers will understand how these checks return true/false outcomes that drive sourcing decisions
  • Handle Arrays with Care: Always define a `conditionScope` (ALL, ANY, NONE) when targeting collections. This ensures predictable results and prevents evaluation errors
  • Validate Parameters Rigorously: Use correct paths, operators, and value types. Misconfigured operators, unresolved paths, or type mismatches are the most common causes of Condition failures
  • Know When to Customize: Path Conditions cover most scenarios, but complex multi-field or non-standard requirements may call for registering a custom Condition type
No alt text provided

Steps