ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Synchronize Job Data

  • Summary
  • Usage
  • Syntax
  • Code Sample
  • Environments
  • Licensing Information

Summary

This tool synchronizes multiple Workflow Manager repositories participating in a Workflow Manager Cluster. The tool performs two-way synchronization; changes from the child repositories are sent to the parent repository and changes from the parent are sent to all child repositories.

This tool requires that you have Workflow Manager for Server installed and configured across all participating nodes.

Learn more about Workflow Manager replication

Usage

  • This tool can only be used for connected child repositories. For disconnected child repositories, you can use the Export Job Data and Import Job Data tools. See Workflow Manager replication for more information.

  • The changes from all child repositories are sent to the parent repository for consolidation. These consolidated changes, along with changes made in the parent repository, are then sent to all the child repositories in the cluster.

  • The parent and child Workflow Manager services must be online for synchronizing changes.

Syntax

SynchronizeJobData_wmx (Input_Parent_Repository_URL, Input_Parent_Repository_Name, Input_Multi_Name)
ParameterExplanationData Type
Input_Parent_Repository_URL

The URL for the parent repository will be the Workflow Manager server URL, for example, http://localhost/arcgis/rest/services/parent/wmserver.

String
Input_Parent_Repository_Name

The parent repository that will be distributing the Workflow Manager jobs and configuration elements.

String
Input_Multi_Name
[[child_repository, connected, URL, last_sync_time],...]

The child repositories that will be updated with the parent repository configuration.

  • child_repository—The name of the child repository. This must be a connected repository.
  • connected—The only accepted value is "true". If any other value is entered, the child will not be synchronized.
  • URL—The URL of the child repository.
  • last_sync_time—The date and time in the system format. For example, if your system data and time format is MM:DD:YY HH:MM:SS, the value would be 08/01/2013 11:30:45.

Value Table

Code Sample

SynchronizeJobData example (stand-alone Python script)

In this example, changes made in the workflow manager repositories are getting synchronized between two repositories.

# Import arcpy module
import arcpy

# Check out any necessary licenses
arcpy.CheckOutExtension("JTX")

# Local variables:
Input_Parent_Repository_URL = "http://ServerName/arcgis/rest/services/ServerObjectName/WMServer"
Input_Parent_Repository_Name = "Redlands_Repository"
Input_Multi_Name = "Ohio_Repository true http://ohioServer/arcgis/rest/services/SO/WMServer 2011-08-08 12:00;AZ_Repository true http://AZServer/arcgis/rest/services/SO/WMServer 2011-08-08 12:00"

# Process: Synchronize Job Data
arcpy.SynchronizeJobData_wmx(Input_Parent_Repository_URL, Input_Parent_Repository_Name, Input_Multi_Name)

Environments

This tool does not use any geoprocessing environments

Licensing Information

  • ArcGIS for Desktop Basic: No
  • ArcGIS for Desktop Standard: Requires Workflow Manager
  • ArcGIS for Desktop Advanced: Requires Workflow Manager

Related Topics

  • An overview of the Workflow Manager toolbox
  • Replicate Job Data
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal