Fluent Commerce Logo
Docs
Sign In
Rule

Changed on:

19 Apr 2024

Overview

Change the status of the current entity to the value provided.

Plugin NameCore Reference Module
Namespace{{accountId}}.core

The Core Reference Module is a foundational Reference Module. It provides a base set of general purpose Rules that other Modules are built upon or that can be included in your own Workflows. Extensible by design, use this Module as a base to build a solution for the needs of your customers.


UI Description

Set state to {status}

Accepts

  • All Orchestration Entities

Actions

Rule parameters

Name

Type

Description

`status`

`String`

The new status value to be set for the current entity.

Configuration example

1{
2    "name": "[account].core.SetState",
3    "props": {
4        "status": "BOOKED"
5    }
6}

Language: json

Detailed Technical Description

This Rule will produce a MutateAction.

The mutation will apply to the current Entity in the Event Context. Mutation Actions are executed immediately after the Rule that produced it to ensure the following Rules and Rulesets have up to date Entity state.

Additionally, a

`STATE_CHANGE`
Event will be generated by the platform for backward compatibility purposes. We don't generally recommend using this Event. The Reference Modules do not include
`STATE_CHANGE`
Rulesets, and it is ok to let these result in a
`NO_MATCH`
.

Workflow Builder (Modeller) Screenshot
No alt provided

Version History

2023-08-02

v23.8.2

Refers to the Product Release Version

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