Authors:
Nandha Balaguru, Dominik Malzacher, Cille Schliebitz, Anita Gu
Changed on:
3 Feb 2025
This lesson covers key operational activities in Fluent Commerce, including Plugin Management, Workflow Versioning, and Audit Events. You’ll learn how to manage Fluent plugins, version workflows, and utilize audit events to debug and analyze processes within the Fluent platform.
In this lesson, we'll talk about some activities and tasks that may need to be undertaken from an operational point of view as part of Fluent application support and maintenance. Topics in this lesson include:
Plugins are separately built artifacts containing one or more rules that can be uploaded and installed into the Fluent Workflow Framework to be used during workflow execution.
For a Developer or a Technical Lead, some common plugin management tasks include:
The Plugin API provides methods for uploading, installing, and viewing Plugins.
Here's a quick look at the API:
Next, we look at the operations of the Plugin API.
With the Plugin API, you can conduct the following operations:
[GET] - returns the list of all rules that are active in an ACCOUNT
[GET] / {bundleName}/status - returns the upload/installation status and other metadata of the specified plugin bundle. Only bundles that belong to the logged-in account can be viewed:
Before we look at the activities that surround workflow versions, let's understand what Workflow Versions are.
Within the Fluent Platform, all workflows are versioned. Any modification of an existing workflow by a Retailer automatically creates a new version.
Here are some things to remember about workflow versions.
Okay, now that we've discussed Workflow versions, let's discuss the tasks and activities surrounding them.
Here are some activities that can be carried out around Workflow Versions:
The Workflow API supports the following operations:
[PUT] - used for uploading a new workflow
[GET] - used to retrieve existing workflows. This can be used to:
Orchestration Audit Events record what has happened during orchestration processing. They are essentially a log of all activities for a particular entity and contain information valuable for determining what and how an entity was processed through a workflow. They also provide the most useful mechanism for debugging orchestration issues.
There are 3 different ways to view audit events:
Audit Events are automatically generated by the Workflow Engine and include a number of categories that define what the audit event is about.
Audit Event categories:
Snapshot — This event prints out a snapshot of the orchestrated entity at the time the event is triggered inside of the Workflow Engine.
Ruleset — For each and every ruleset executed within a process, a Ruleset Audit event is created.
Rule — For each and every rule executed within a ruleset, a Rule Audit event is created
Action — An Action Audit event is created for each action produced from a Rule.
Exception — An Exception Audit event is written whenever an exception is thrown from a Rule, back into the Workflow Engine.
Additionally, the Log Action creates a custom Audit event. This is useful for Rule developers to provide additional audit information to the Audit log that is not included in the system-generated audit events.
Like any Event, the Audit Event contains context information such as the Root Entity and Entity type, status, and ID / Ref. It also includes a timestamp, which is useful for reporting and analyzing processing and fulfillment times. Additional information is written in the Event Attributes array.
1{
2 “id”: “a3f154c0-3e19-11ed-a11c-198b938d27af”,
3 “name”: “Change State”,
4 “type”: “ORCHESTRATION_AUDIT”,
5 “accountId”: “FCTRAINAU1000",
6 “retailerId”: “1",
7 “category”: “ACTION”,
8 “context”: {
9 “sourceEvents”: [
10 “a37c24c0-3e19-11ed-b70a-0f9894474e93”
11 ],
12 “entityType”: “FULFILMENT_OPTIONS”,
13 “entityId”: “5c40405c-d647-4b11-825f-7d53aacc7983”,
14 “entityRef”: “FO_6081”,
15 “rootEntityType”: “FULFILMENT_OPTIONS”,
16 “rootEntityId”: “5c40405c-d647-4b11-825f-7d53aacc7983”,
17 “rootEntityRef”: “FO_6081”
18 },
19 “eventStatus”: “SUCCESS”,
20 “attributes”: [
21 {
22 “name”: “toStatus”,
23 “value”: “OPTIONS_PROVIDED”,
24 “type”: “STRING”
25 },
26 {
27 “name”: “startTimer”,
28 “value”: 1664251536270,
29 “type”: “STRING”
30 },
31 {
32 “name”: “stopTimer”,
33 “value”: 1664251536366,
34 “type”: “STRING”
35 }
36 ],
37 “source”: “94862882.CREATE”,
38 “generatedBy”: “Rubix User”,
39 “generatedOn”: “2022-09-27T04:05:36.366+0000"
40 }
Language: json
Name: Sample audit event
Description:
Sample audit event
Copyright © 2025 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.