Changed on:
2 Jan 2024
Forward the incoming event with the event name
`{eventName}`
`{attributeKey}`
`{attributeValue}`
Plugin Name | Inventory Reference Module |
---|---|
Namespace | [[account.id]].globalinventory |
The Inventory Reference Module is the foundation for inventory related implementations. It provides reference Workflows for inventory ingestion and processing. Extensible by design, use this Module as a base to build a solution to the needs of your customers.
The Inventory Module includes the following areas:
Forward the incoming event with the event name {eventName} if event attribute key {attributeKey} has value {attributeValue}.
Parameter | Description |
eventName | The name of event to be triggered |
attributeKey | The key of the attribute to be verified |
attributeValue | The value of the attribute to be verified |
Parameter | Description | Data Type | Required? |
attributeKey | The attribute specified by the rule property attributeKey | String | Optional |
This rule will throw a PropertyNotFoundException which is a subclass of RubixException if the
`eventName`
`attributeKey`
`attributeValue`
1{
2 "name": ">AccountID>.globalinventory.ForwardIfIncomingAttributeEquals",
3 "props": {
4 "eventName": "attribute_matched",
5 "attributeKey": "the_name_of_the_key",
6 "attributeValue": "the_expected_value"
7 }
8}
Language: json
The rule first checks whether the required attribute to be compared exists. If it does exist it will compare the value
`{attributeValue}`
`{attributeValue}`
`{eventName}`
refers to 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.