Export Job Data (Workflow Manager)
サマリ
This tool will export the database repository to a folder location. This tool requires that you have Workflow Manager server installed and configured across all participating nodes.
使用法
-
The ArcGIS Workflow Manager extension allows you to have distributed repositories across multiple servers or locations to support distributed workforces. These repositories participate in what is referred to as Workflow Manager Clusters. In a Workflow Manager architecture where there are child nodes that are disconnected participating in a distributed Workflow Manager environment, there is a need to create the replication offline. This will allow the administrator to update the child Workflow Manager repositories with the most up-to-date configuration. Workflow Manager will time stamp any changes, so to only get changes that are from a specific time (like last export/synchronization), you can specify an export since value. This will only export elements that have changed since the specified date.
構文
パラメータ | 説明 | データ タイプ |
Input_Repository_Name |
The name of the Workflow Manager repository that contains the configuration to be shared. | String |
Input_Folder |
This is the location of the JXL file output from the tool. This folder can be on a local or a network drive. | Folder |
Input_DatabasePath |
The Workflow Manager connection file for the database to be exported. If no connection file is specified, the application will use the current default database. | File |
Input_Export_Since |
By specifying a date, the JXL exported will only contain changes that occurred between the current date and the specified time. The input should be the time format for the current machine's locale. | Date |
Output_Status |
The export status will be 0 upon success or a negative number upon failure. The negative number will be useful to search for the reason why there is a failure. | Long |
コードのサンプル
Export the contents of the database repository to a folder location.
# Import arcpy module
import arcpy
# Check out any necessary licenses
arcpy.CheckOutExtension("JTX")
# Local variables:
Input_Repository_Name = "Redlands_Repository"
Input_Folder = "C:\Temp"
Input_DatabasePath = "C:\\Program Files\\WMX\\Database\\wmx.jtc"
Input_Export_Since = "12/09/2009"
# Process: Export Job Data
arcpy.ExportJobData_WMX(Input_Repository_Name, Input_Folder, Input_DatabasePath, Input_Export_Since)