Changed on:
27 Nov 2023
The rule sends and event with the name specified in the input parameter in case the incoming entity has an attribute name and value that matches with the name and value provided in the input parameters. Otherwise, a no match event is sent.
Plugin Name | Order Reference Module |
---|---|
Namespace | [[account.id]].order |
The Order Reference Module is the foundation for order-related implementations. It provides reference workflows for click & collect, home delivery 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.
Sends an event with name "PROP_EVENT_NAME" in case the attribute name and value matches the given name and value. Otherwise sends "PROP_NO_MATCH_EVENT_NAME" event.
Parameter | Description |
PROP_EVENT_NAME | Output event name to be created and sent if the attribute name and value matches. |
PROP_NO_MATCH_EVENT_NAME | Output event name to be created and sent if the attribute name and value doesn't exist or match. |
PROP_ATTRIBUTE_NAME | Attribute name to be matched in the incoming entity. |
PROP_ATTRIBUTE_VALUE | Attribute value to be matched in the incoming entity. |
This rule does not directly identify any event attributes.
This rule will throw an RubixException: 400 (wrong data) if attempted against unsupported entities.
1{
2 "name": "<ACCOUNTID>.order.endEventOnVerifyingAttributeValue",
3 "props": {
4 "eventName": "testEventName",
5 "noMatchEventName": "NoMatch",
6 "attributeName": "testAttributeName",
7 "attributeValue": "testAttributeValue"
8 }
9}
Language: json
refers to the plugin
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.