This minor version has been deprecated
MuleSoft Accelerator for Salesforce B2C Commerce Cloud icon

MuleSoft Accelerator for Salesforce B2C Commerce Cloud

(1 review)

Use case 4 - Order status update

Overview

The following use case is covered:

  • Order status update (B2C Commerce Cloud ← OMS)

This use case shows you how to update order-status in B2C Commerce Cloud with changes that originate in the external OMS.

Order management systems don’t all emit events when orders are created or modified. OFBiz does not emit events which means that polling is needed to detect any changes to the status of orders.

On a configurable scheduled basis, poll for status updates in the OMS using an API. Push any status updates (since the last watermark timestamp) to B2C Commerce Cloud.

High-level architecture

sfc-b2c-com-order-status-api-led-architecture.png

Workflow

  1. The scheduling service (a common service component) triggers calls to the Orders Process API to retrieve recently modified orders.
  2. Orders Process API retrieves the list of orders updated since the last run from OMS.
  3. For each of the orders in the returned list, update Commerce Cloud with the order status retrieved from the backend OMS.

Sequence diagram

sfc-b2c-com-order-staturs-seq-diagram.png

Systems involved

  • Apache OFBiz OMS
  • B2C Commerce Cloud

Setup instructions

Mule projects


Reviews

TypeCustom
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onOct 30, 2020
Asset overview

Asset versions for 1.3.x

Asset versions
StatusVersionActions
1.3.0