Fluent Commerce Logo
Docs
Sign In

Install Reference Modules using Plugin and Workflow APIs

How-to Guide

Author:

Girish Padmanabha

Changed on:

2 July 2024

Key Points

  • Reference Modules: There are four reference modules: Core, Order, Fulfilment, and Inventory
  • Version: Always download and install the latest version of the module
  • Extraction: Unzip the downloaded file using system-appropriate software
  • Verification: Ensure the extracted folder follows the naming pattern fc-module-<domain>-<pluginVersion>
  • Assets Folder: Confirm the extracted folder contains the "assets" folder, which includes "rules" and "workflows" subfolders
  • Jar File: Within the "rules" folder, locate the jar file named fc-plugin-<domain>-<pluginVersion>. Keep track of the domain and version numbers
  • Workflows: In the "workflows" folder, ensure default workflows with placeholders are appropriately customized for your account

Steps

Step arrow right iconDownload the Module:

Step arrow right iconUnzip the File:

Use system-appropriate software (e.g., WinRAR for Windows, Unarchiver for macOS) to unzip the downloaded file

Step arrow right iconVerify the Extracted Folder:

  • Ensure the root folder follows the pattern
    `fc-module-<domain>-<version>`
  • Check that the folder contains an "assets" directory with "rules"  and "workflows" subfolders

Step arrow right iconCheck the "rules" Folder:

  • Locate the jar file named
    `fc-plugin-<domain>-<version>`
    in the "rules" folder
  • Note the domain and version numbers

Step arrow right iconReview the "workflows" Folder:

  • Examine the workflows provided for different entities within the domain
  • Replace any placeholders with account-specific values

Step arrow right iconUpload and Install the Plugin:

  • Follow the steps in the Plugin API documentation to upload and install the relevant plugin
  • Ensure while installing the plugin, the below bundle name and version used matches the pattern below

Reference Module

Bundle Name Pattern

core

`{{fluentAccountId}}.core::{{pluginVersion}}`

fulfilment

`{{fluentAccountId}}.fulfilment::{{pluginVersion}}`

order

`{{fluentAccountId}}.order::{{pluginVersion}}`

inventory

`{{fluentAccountId}}.globalinventory::{{pluginVersion}}`

  • Verify that the plugin is active before proceeding to the next step

Step arrow right iconUpload Workflows:

  • Ensure all placeholders in the workflows are correctly replaced with relevant values
  • Upload each workflow individually, following the steps in the Workflow API documentation


Step arrow right iconComplete the Installation:

  • Confirm all steps are completed and verify the module is functioning as expected
  • Follow these steps for installing new versions when released

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