Clear Job Replication Information (Workflow Manager)

License Level:BasicStandardAdvanced

Summary

Deletes the replication information on a parent repository and sends a web service call to all the child repositories in the cluster. Consequently, the replication information is cleared from all the repositories participating in the cluster.

Usage

Syntax

ClearJobReplicationInfo_wmx (input_repository_URL, {input_databasepath})
ParameterExplanationData Type
input_repository_URL

The URL for the Workflow Manager Server Object as defined on the server.

For example, http://ServerName/arcgis/rest/services/ServerObjectName/WMServer.

String
input_databasepath
(Optional)

The Workflow Manager connection file for the database from which to delete the replication information. If no connection file is specified, the current default Workflow Manager database is used.

File

Code Sample

ClearJobReplicationInfo example stand-alone Python script

Clear job replication information tool deletes the replication information on a parent.

# Import arcpy module
import arcpy

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

# Script arguments
Input_Repository_URL = "http://ServerName/arcgis/rest/services/ServerObjectName/WMServer"
Input_DatabasePath = "C:\\Program Files\\WMX\\Database\\wmx.jtc"

# Process: Clear Job Replication Information
arcpy.ClearJobReplicationInfo_WMX(Input_Repository_URL, Input_DatabasePath)

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Requires Workflow Manager
ArcGIS for Desktop Advanced: Requires Workflow Manager
3/4/2014