SendEventOnVerifyingParcelsComplete
RuleRules are designed to be building blocks for workflow logic.
Changed on:
7 Aug 2025
Overview
This rule triggers an event when items are packed into parcels without rejection.| Plugin Name | Order Reference Module |
|---|---|
| Namespace | [[account.id]].order |
UI Description
Send event {eventName} if parcels complete the fulfilment.
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.SendEventOnVerifyingParcelsComplete",
3 "props": {
4 "eventName": "CreateParcels"
5 }
6}Detailed Technical Description
This rule produces a

`SendEventAction` if items are not empty in the `packedItems.articles` attribute, and the `packedItems.rejections` attribute is empty.Workflow Builder (Modeller) Screenshot
