SendEventOnVerifyingNoParcels
Rule
Changed on:
7 Aug 2025
Overview
This rule is executed when no items are packed into parcels and all items are rejected.| Plugin Name | Order Reference Module |
|---|---|
| Namespace | [[account.id]].order |
UI Description
Send event {eventName} if there are no parcels
Accepts
- Fulfilment
Actions
- This Rule conditionally produces a
`SendEventAction`
Rule parameters
| Name | Type | Description |
| eventName | String | Name of the event to send if the check passes. |
Event attributes
| Parameter | Description | Data Type | Required? |
| packedItems | The list of packed and rejected fulfilment items | Object | Required |
Exceptions
This rule may result in following exception:
- throw
`IllegalArgumentException`if incoming event has no`packedItems`attribute
Configuration example
1{
2 "name": "[[account.id]].order.SendEventOnVerifyingNoParcels",
3 "props": {
4 "eventName": "RejectFulfilment"
5 }
6}Detailed Technical Description
This Rule produces a`SendEventAction` if items are empty in the `packedItems.articles` attribute, and the `packedItems.rejections` attribute is not empty.Workflow Builder (Modeller) Screenshot
