CancelFulfilment
Changed on:
8 Aug 2025
Overview
The rule changes the status of the incoming fulfilment to 'CANCELLED' and updates fulfilment item's filled and rejected quantities.| Plugin Name | Core Reference Module |
|---|---|
| Namespace | [[account.id]].core |
- that other Modules are built upon
- or that can be included in your own Workflows
UI Description
Changes the status of the incoming fulfilment to 'CANCELLED' and updates fulfilment item's filled and rejected quantities. Filled quantity is set to 0 and the rejected quantity is set to requested quantity.
Accepts
- FULFILMENT
Actions
- This rule performs an update mutation on the fulfilment entity.
Rule parameters
Event attributes
Exceptions
Configuration example
1{
2 "name": "<ACCOUNTID>.order.CancelFulfilment",
3 "props": {}
4}Detailed Technical Description
- Getting fulfilment from context.
- Set fulfilment status to
`CANCELLED`. - Get items from fulfilment:
-`filledQuantity`is set to 0
-`rejectedQuantity`is set to requested quantity