SendEventOnVerifyingNoParcels
Changed on:
2 Oct 2024
Overview
This is executed when no items are packed into parcels and all items are rejected.
Plugin Name | Order Reference Module |
---|---|
Namespace | [[account.id]].order |
The is the foundation for order-related implementations. It provides reference workflows for , and mixed baskets and those needed to build your own. Extensible by design, use this Module as a base to build a solution to your customers' needs.
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 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 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 produces a `SendEventAction`
if items are empty in the `packedItems.articles`
, and the `packedItems.rejections`
is not empty.
1{"packedItems": {
2 "rejections": [
3 {
4 "fulfilmentItemId": "139",
5 "rejectedQty": 2,
6 "rejectReason": {
7 "label": "fc.sf.rejectionReason.damagedItem",
8 "value": "damagedItem"
9 }
10 }
11 ]
12 }
13 }
Workflow Builder (Modeller) Screenshot

Version History
v1.0.0
Initial release