Clear Job Replication Information (Workflow Manager (Classic))

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.

Legacy:

This is a deprecated tool. It is recommended that current Workflow Manager (Classic) users begin new projects using the services-driven version of ArcGIS Workflow Manager for ArcGIS Pro.

Usage

  • The replication information to be deleted must exist when running this tool.

Parameters

LabelExplanationData Type
Repository URL

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

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

String
Input Database Path
(Optional)

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

File

Derived Output

LabelExplanationData Type
Clear Replication Status

The result of the clear job replication information operation. Returns 0 on success.

Long

arcpy.wmx.ClearJobReplicationInfo(Input_Repository_URL, {Input_DatabasePath})
NameExplanationData Type
Input_Repository_URL

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

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

String
Input_DatabasePath
(Optional)

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

File

Derived Output

NameExplanationData Type
Output_Status

The result of the clear job replication information operation. Returns 0 on success.

Long

Code sample

ClearJobReplicationInfo example (stand-alone 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.

Licensing information

  • Basic: No
  • Standard: Requires Workflow Manager
  • Advanced: Requires Workflow Manager

Related topics