A Rule is the smallest unit of logic in a workflow. Rules are the building blocks that are composed into Rulesets in a Workflow to deliver business logic. Reference Modules provide a library of Rules to cater to various scenarios, and additional rules can be created to meet specific requirements using the Rules SDK.
This diagram shows how Fluent Commerce orchestrates order fulfilment using configurable business logic instead of fixed code.As an order moves through stages like Booked, Pick & Pack, Dispatch and Delivery, each transition is triggered by an event and governed by rulesets that determine what is allowed to happen next. These rulesets evaluate business conditions such as inventory availability, warehouse capacity, delivery constraints and SLA timings.The workflow engine ensures every step is executed consistently by firing the right rulesets at the right time, while rules handle the actual decision making within each step. This allows the system to automatically handle complexity like splitting fulfilment, routing orders, or handling exceptions (delays or partial fulfilment) without manual intervention. Order fulfilment is not implemented as a static process model, but as a dynamic, event driven state machine governed by business rules, enabling adaptive execution at scale.