VerifyingFulfilmentItems
Changed on:
7 Aug 2025
Overview
The rule verifies the quantity of items fulfilled in the incoming fulfilment entity and sends the corresponding event when it matches the quantity from the input parameter.| Plugin Name | Order Reference Module |
|---|---|
| Namespace | [[account.id]].order |
UI Description
Verifies the quantity (not a number, quantity here refers to ALL, PARTIAL or NONE) of items fulfilled in the incoming fulfilment entity and sends an event with the corresponding event name when it matches the quantity from the input parameter.
Accepts
- FULFILMENT
Actions
- This rule creates and sends an event if the quantity is matched.
Rule parameters
| Parameter | Description |
| eventName | The name of event to be triggered. |
| quantity | Quantity fulfilled, to be matched with fulfilment item's fulfilled quantities: NONE, ALL or PARTIAL. |
Event attributes
Exceptions
- if fulfilment cannot be found with
`Id` - if fulfilment items cannot be found for
`fulfilmentId` - if quantity type is not supported
Configuration example
1{
2 "name": "<ACCOUNTID>.order.VerifyingFulfilmentItems",
3 "props": {
4 "eventName":"AllFulFilled",
5 "quantity":"ALL"
6 }
7}