Fluent Commerce Logo
Docs
Sign In

Latest Rule Library Changes

Rules are used within a Workflow to define when; or if, something should happen. They help translate business logic into your OMS setup.

LoadInventoryPositionData

Rule

Send an inline event including the

`inventoryPositionExists`
flag indicating whether the corresponding Inventory Position exists or not.

This Rule is a simplified version of the

rule, excluding the logic for:

  • Retrieving Inventory Quantity data of type
    `LAST_ON_HAND`
    in status
    `ACTIVE`
    or
    `CREATED`
  • Setting and forwarding the 
    `inventoryQuantityExists`
    flag (true or false)

UpdateOrderCoordinates

Rule

The rule updates the longitude and latitude of the order based on the incoming event information received from the ResolveOrderCoordinates rule.

This rule works only if the order comes without coordinates. The ResolveOrderCoordinates rule resolves the coordinates and sends the event with latitude and longitude. After that, the UpdateOrderCoordinates rule gets coordinates from the event and updates the delivery address with coordinates.