Replicates the Workflow Manager configuration from a parent repository to child repositories using Workflow Manager for Server. Each child repository becomes an identical copy (replica) of the parent repository.Learn more about Workflow Manager Replication
The ArcGIS Workflow Manager extension allows you to have distributed repositories across multiple servers or locations to support distributed workforces. These repositories participate in what is referred to as Workflow Manager Clusters. The repositories participating in the cluster are identified as parent or child. For more information, see Workflow Manager replication.
The repository specified by the Parent Repository URL and Parent Repository Name parameters must be the repository that contains the data to be distributed to all the other participants of the cluster. The parent repository must be published as the Workflow Manager service for both connected and disconnected replication.
The Replicate Job Data tool deletes the configuration of child repositories and imports a copy of the parent database configuration in every child repository in the cluster. This ensures that all the servers participating in the distributed repositories have identical configurations.
The child repositories that are participating in the cluster are specified in the Child Repository Names and URLs parameter. Three pieces of information are specified in this parameter: Repository name, Connected, and URL.
- Repository name—The name of the child repository.
- Connected—Specifies whether the repository is a connected or disconnected.
- true—The child repository is a connected repository. This means that the Workflow Manager server is installed and configured for this repository. Both the parent repository and the child repository must be published as Workflow Manager services and the servers must be online.
- false—The child repository is a disconnected repository. This means that the Workflow Manager server is not installed and the child repository is not published as Workflow Manager services.
- if Connected is true, this is the URL of the child repository.
- if Connected is false, this is the folder location to store the configuration file exported from the parent repository. The configuration file can be used with the Import Job Data tool to replicate the parent to this disconnected repository.
To perform disconnected replication using the Replicate Job Data tool, the parent repository must be published as Workflow Manager services and the server must be online.
CreateJobDataReplica_wmx (Input_Parent_Repository_URL, Input_Parent_Repository_Name, Input_Multi_Name)
The URL for the parent repository as the Workflow Manager service URL, for example, http://localhost/arcgis/rest/services/parent/wmserver.
The name of the parent repository that will be distributing the Workflow Manager jobs and configuration elements.
[[child_name, connected, URL],...]
The child repositories that will be updated with the parent repository configuration.
CreateJobDataReplica example (stand-alone Python script)
In this example, a replica of the workflow manager parent repository Redlands is created in the Ohio and Arizona 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;AZ_Repository true http://AZServer/arcgis/rest/services/SO/JTServer" # Process: Replicate Job Data arcpy.CreateJobDataReplica_wmx(Input_Parent_Repository_URL, Input_Parent_Repository_Name, Input_Multi_Name)
This tool does not use any geoprocessing environments
- ArcGIS for Desktop Basic: No
- ArcGIS for Desktop Standard: Requires Workflow Manager
- ArcGIS for Desktop Advanced: Requires Workflow Manager