Skip to content

Sync Master Data Between Systems

This guide explains how to synchronize master data between external systems (like SAP, Salesforce, or custom databases) and YuzeData.

Overview

Master data synchronization involves two main operations:

OperationDescription
ImportPull master data from an external system into YuzeData
ExportPush master data from YuzeData to an external system

Each operation is implemented as a workflow step that you configure within a workflow.

When to Use This Guide

Use this guide for syncing master data — entities that can be updated over time (e.g., equipment, locations, suppliers). Master data is mutable and uses version-based tracking.

For syncing datapoints — events and facts that are appended (e.g., sensor readings, transactions, logs) — see Sync Datapoints.

Prerequisites

Before syncing master data, ensure you have:

  1. Connector instances deployed for the systems you want to pull from and push to
  2. A master data type defined (e.g., Equipment, Location, Supplier)
  3. Appropriate schemas for the data being transferred

Importing Master Data

Import master data from an external system into YuzeData using the Import master data workflow step template.

How It Works

  1. The workflow step calls the connector to fetch data from the external system
  2. Data is transformed using the configured schema mapping (if provided)
  3. Each record is validated (must have Identifier and DisplayName)
  4. Records are created or updated in YuzeData's master data store

Configuration

SettingDescription
ConnectorThe connector instance to use for fetching data
OperationThe connector operation that retrieves data
Schema Mapping(Optional) Transform source data to match required fields
Master Data TypeThe type of master data to create (e.g., Equipment)

Required Fields

Each record must have these fields after transformation:

FieldRequiredDescription
IdentifierYesUnique identifier for the item
DisplayNameYesHuman-readable name
ParentIdNoIdentifier of the parent item (for hierarchies)

All other fields are defined by the configured schema. If the source data doesn't have the required fields, use a schema mapping to assign them from other fields in the source data.

Example: Import Equipment from SAP

  1. Create a new workflow
  2. Add a workflow step using the Import master data template
  3. Configure:
    • Connector: Your SAP connector instance
    • Operation: Read equipment data
    • Master Data Type: Equipment
  4. Set a schedule (e.g., daily at midnight)
  5. Activate the workflow

Each time the workflow step runs, it fetches equipment data from SAP and updates the master data in YuzeData.

Exporting Master Data

Export master data from YuzeData to an external system using the Export master data workflow step template.

How It Works

  1. The workflow step retrieves master data items from YuzeData
  2. Items are filtered based on sync status (incremental sync)
  3. Data is sent to the external system via the connector
  4. The external system returns identifiers for the created/updated records
  5. Mapping identifiers are automatically created to link systems

Configuration

SettingDescription
ConnectorThe connector instance to use for sending data
OperationThe connector operation that saves data
Master Data TypeThe type of master data to export
Loading ModeHow to handle hierarchical data
Incremental SyncOnly sync changed items

Loading Modes

Choose how hierarchical master data is processed:

ModeDescriptionUse When
FlatProcess all items without hierarchyItems are independent
EagerLoad parent with all descendantsSmall hierarchies
LazyProcess parents first, then childrenLarge hierarchies

Incremental Sync

When enabled, the workflow step tracks which items have been synced:

  • Only items that changed since the last sync are sent
  • Reduces load on external systems
  • Sync status can be reset from the master data item's detail page

Example: Export Equipment to Custom System

  1. Create a new workflow
  2. Add a workflow step using the Export master data template
  3. Configure:
    • Connector: Your custom system connector
    • Operation: Save equipment
    • Master Data Type: Equipment
    • Loading Mode: Flat
    • Incremental Sync: Enabled
  4. Set a trigger (schedule or after import completes)
  5. Activate the workflow

Complete Sync Workflow

A typical bidirectional sync workflow includes:

Master Data Sync Workflow

  1. Import workflow step: Pulls data from SAP daily
  2. Export workflow step: Triggered after import, pushes to Custom DB
  3. Mapping: External IDs are automatically tracked via mapping identifiers

Monitoring Sync Status

View sync status in two places:

From the Export workflow step:

  1. Open the Export master data workflow step
  2. View the list of items and their sync status

From individual master data items:

  1. Navigate to Data → Master Data
  2. Select the master data type
  3. Click on an item to view details
  4. Check the Sync Status section

The sync status shows:

  • Which workflow steps have synced this item
  • Last synced version vs. current version
  • Option to reset sync status (forces re-sync)