Fluent Commerce Logo
Docs
Sign In

UpdateControlValue

Rule

Changed on:

13 Nov 2023

Overview

Updates the value of a control with the event attribute value.

Plugin NameInventory 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:

  • Product Catalogue workflow
  • Inventory Catalogue workflow
  • Control Group workflow
  • Virtual Catalogue workflow

UI Description

Updates the value of a control with the event attribute value.

Accepts

  • CONTROL

Actions

  • This rule produces a MutationAction that will update the value and execution order of one control

Rule parameters

There are no input parameters for this rule.

Event attributes

Parameter

Description

Data Type

Required?

controlValue

The value of the control

Integer

Required

executionOrder

Order that the control is applied

Integer

Required

Exceptions

There are no exceptions produced for this rule.

Configuration example

1{
2  "name": "FLUENTRETAIL.globalinventory.UpdateControlValue"
3}

Language: json

Detailed Technical Description

The rule uses a MutationAction to update the control value and the execution order value of the control from the event attributes.

Version History

2023-08-03

v2.0.0

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.

Fluent Logo