Clear Job Replication Information (Workflow Manager)

Summary

Deletes the replication information on a parent. The tool sends a web service call to the child and the cluster information is cleared from the Workflow Manager repository.

Usage

Syntax

ClearJobReplicationInformation_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://<YourServer>/arcgis/services/<ServerObjectName>/WMServer.

String
input_databasepath
(Optional)

The Workflow Manager connection file for the database from which to delete the record. If no connection file is specified, the application will use the current default database.

File

Code Sample

ClearJobReplicationInformation

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")

# Install location of ArcGIS Workflow Manager might vary.
arcpy.ImportToolbox(r"C:\Program Files\WMX\Toolboxes\Workflow Manager Tools.tbx")

# Script arguments
Input_DatabasePath = arcpy.GetParameterAsText(0)
Input_Repository_URL = arcpy.GetParameterAsText(1)

# 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

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

9/28/2012