Synchronize Job Data (Workflow Manager)

Summary

This tool will synchronize multiple Workflow Manager repositories with identical configurations. This tool requires that you have Workflow Manager server installed and configured across all participating nodes.

Usage

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/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, server status, URL, last sync time],...]

The collection of repositories that will participate as children in the cluster.

Value Table

Code Sample

SynchronizeJobData example (stand-alone Python script)

In this example, changes to the workflow manager repository 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/services/ServerObjectName/WMServer"
Input_Parent_Repository_Name = "Redlands_Repository"
Input_Multi_Name = "Ohio_Repository true http://ohioServer/arcgis/services/SO/WMServer 2011-08-08 12:00;
AZ_Repository true http://AZServer/arcgis/services/SO/WMServer 2011-08-08 12:00"

# Process: Export 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

Related Topics

Licensing Information

ArcView: No
ArcEditor: Requires Workflow Manager
ArcInfo: Requires Workflow Manager

9/28/2012