Set Custom Order Data

Enrich order using a custom connector implementation.

Overview

The Set Custom Order Data step uses a custom connector to enrich the order with additional data. This enables tenant-specific enrichment logic through custom implementations.

Identifier

PropertyValue
KeySetCustomOrderData
GroupEnrich
Applicable StatusesNew

Configuration Properties

This step requires a Connector to be configured on the workflow step.

Behavior

What It Does

  1. Validates that a connector is configured
  2. Invokes the custom connector implementation to enrich the order
  3. Removes any previous error for this connector on success
  4. Adds error to order if operation fails

Prerequisites

  • Connector must be specified on workflow step
  • Custom service implementation must exist for the connector

Side Effects

  • Order enriched with custom data
  • Error tracking on order
  • Depends on custom implementation

Business Cases

When to Use

  • Custom integration: Tenant-specific data enrichment
  • External lookups: Fetch data from external systems
  • Complex logic: Implement business-specific rules

Example Scenarios

Scenario 1: Custom Pricing Connector "CustomPricing" enriches order with customer-specific prices from external system.

Scenario 2: Address Validation Connector "AddressValidation" validates and enriches shipping addresses.

Scenario 3: Missing Connector No connector configured. Step returns error.

Error Handling

ConditionResultContinues Workflow?
No connectorErrorNo
SuccessSuccessYes
Service errorErrorDepends on StopOnError

On this page