Generate External ID

Create a unique external identifier for the return.

Overview

The Generate External ID step creates a unique external identifier for the return. This ID can be used for integration with external systems that require their own reference numbers.

Identifier

PropertyValue
KeyGenerateExternalId
GroupEnrichment

Configuration Properties

This step has no configurable properties. Configuration is in the market's number options for the UniqueExternalId type.

Behavior

What It Does

  1. Gets number options for the UniqueExternalId type from market configuration
  2. Generates the next sequential ID from the configured number service
  3. Stores the ID in the return's external IDs collection

Prerequisites

  • Market must have number options configured for UniqueExternalId
  • Number service must be available

Side Effects

  • Adds external ID to return
  • Increments ID sequence if applicable

Business Cases

When to Use

  • Creating references for ERP systems
  • Generating IDs for third-party integrations
  • When external systems need their own reference numbers
  • Multi-system synchronization

Example Scenarios

ERP Reference Generate external ID "ERP-RET-2024-001" for syncing to an enterprise system.

Fulfillment System Generate external ID "WMS-RET-12345" for a warehouse management system.

Sample Configuration

{
  "Name": "GenerateExternalId",
  "Active": true,
  "TranslateKey": "WorkflowStep_GenerateExternalId"
}

Error Handling

ConditionResultContinues Workflow?
ID generatedSuccessYes
ID already existsWarningYes
No number optionsErrorDepends on StopOnError
Generation failedErrorDepends on StopOnError
  • Ensure RMA - Different tracking number for customer-facing use
  • Export Order - Use external ID when exporting

On this page