Order Module 2.1.0 - Consistent State Transitions in Order Workflows
Author:
Kirill Gaiduk
Changed on:
8 Dec 2025
| Target release date: | 2025-12-11 |
|---|---|
| Release status: | Released |
Description
This release refactors state transitions for unfulfillable fulfillments in the Order Module to align with best practices. The `ChangeStateForUnfulfilableFulfilment` rule has been split into two rules:
`SendEventToProcessUnfulfilableFulfilment`for event handling- and
`SetState`for state management
This ensures consistent behavior and simplifies workflow maintenance.
🔎 See the Changelog for details.
Changelog
Rules
- Added a new
`SendEventToProcessUnfulfilableFulfilment`rule, which checks a fulfillment and sends an event when the configured criteria are met
Workflows
- Updated Click and Collect, Home Delivery, and Mixed Basket reference workflows to follow a unified state transition approach using:
`SendEventToProcessUnfulfilableFulfilment`rule for condition check (the fulfillment’s from address matches the configured system-rejected location)`SetState`rule for the actual status update step
`ChangeStateForUnfulfilableFulfilment`rule has been removed from the`ProcessFulfilment`ruleset
Package
| Released capability depth: | Fix |
|---|---|
| Release bundle / Capability type: | Module |
