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
-
The replication information to be deleted must already exist when running this tool.
You can optionally specify the JTC file if the repository that you are sending the web service call to is not the default database.
Syntax
Parameter | Explanation | Data 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
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)