ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

Import Job Data

Disponible avec une licence Workflow Manager.

  • Résumé
  • Utilisation
  • Syntaxe
  • Exemple de code
  • Environnements
  • Informations de licence

Résumé

This tool allows you to import Workflow Manager configuration and job information found in a repository into a destination repository. This tool is most useful for setting up a repository similar to an existing repository, disconnected repository replica creation, and change synchronization.

Utilisation

  • The Repository Name parameter is the name of a Workflow Manager repository to which you can connect.

  • The Input JXL/Acknowledgement file is generated by using the Export Job Data tool.

  • By checking the Merge option you are appending the contents of the input JXL file to the existing configuration in your database. If the Merge option is not checked, the existing contents of the specified repository will be wiped out.

Syntaxe

ImportJobData_wmx (Input_File, Input_Merge, {Input_DatabasePath}, {Input_Repository_Name})
ParamètreExplicationType de données
Input_File

The JXL file that contains all the jobs and configuration elements generated using the Export Job Data tool.

File
Input_Merge

Choose whether contents of the destination workflow manager repository should be combined instead of being overwritten with the contents of the input configuration file.

  • COMBINE —Combine the contents of the destination Workflow Manager database with the contents of the input configuration file.
  • REPLACE —Replace the entire contents of the destination Workflow Manager database with the contents of the input configuration file.
Boolean
Input_DatabasePath
(Facultatif)

The Workflow Manager connection file that contains the connection information to the destination repository. If no connection file is specified, the current default workflow manager database in the project is used.

File
Input_Repository_Name
(Facultatif)

The name of the repository as specified in the Workflow Manager system settings. This is a name that should be unique with all the repositories in your cluster. If the repository name is not specified, the current default workflow manager repository name will be used.

String

Exemple de code

ImportJobData example 1 (stand-alone Python script)

Import the configuration, with job information, of a workflow manager repository, replacing the existing contents of the repository.

# Import arcpy module
import arcpy

# Check out any necessary licenses
arcpy.CheckOutExtension("JTX")

# Script arguments
Input_File = "C:\\Temp\\WMXRepository.jxl"
Input_Merge = "REPLACE"
Input_DatabasePath = "C:\\Program Files\\WMX\\Database\\wmx.jtc"
Input_Repository_Name = "WMXRepository"

# Process: Import Job Data
arcpy.ImportJobData_wmx(Input_File, Input_Merge, Input_DatabasePath, Input_Repository_Name)
ImportJobData example 2 (stand-alone Python script)

Import the configuration, with job information, of a workflow manager repository, merging the contents of the .jxl file with the existing contents of the repository.

# Import arcpy module
import arcpy

# Check out any necessary licenses
arcpy.CheckOutExtension("JTX")

# Script arguments
Input_File = "C:\\Temp\\WMXRepository.jxl"
Input_Merge = "COMBINE"
Input_DatabasePath = "C:\\Program Files\\WMX\\Database\\wmx.jtc"
Input_Repository_Name = "WMXRepository"

# Process: Import Job Data
arcpy.ImportJobData_wmx(Input_File, Input_Merge, Input_DatabasePath, Input_Repository_Name)

Environnements

Cet outil n'utilise pas d'environnement de géotraitement.

Informations de licence

  • ArcGIS Desktop Basic: Non
  • ArcGIS Desktop Standard: Requiert Workflow Manager
  • ArcGIS Desktop Advanced: Requiert Workflow Manager

Rubriques connexes

  • An overview of the Workflow Manager toolbox
  • Export Job Data

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog des initiés
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2018 Esri. | Confidentialité | Légal