Clear Job Replication Information (Workflow Manager)
Récapitulatif
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.
Utilisation
-
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.
Syntaxe
Paramètre | Explication | Type de données |
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 (Facultatif) |
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 |
Exemple de code
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_DatabasePath = arcpy.GetParameterAsText(0)
Input_Repository_URL = arcpy.GetParameterAsText(1)
# Process: Clear Job Replication Information
arcpy.ClearJobReplicationInfo_WMX(Input_Repository_URL, Input_DatabasePath)