ArcGIS for Desktop

  • Dokumentation
  • Preise
  • Support

  • My Profile
  • Hilfe
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

Die Mapping-Plattform für Ihre Organisation

ArcGIS for Desktop

Ein vollständiges professionelles GIS

ArcGIS for Server

GIS in Ihrem Unternehmen

ArcGIS for Developers

Werkzeuge zum Erstellen standortbezogener Apps

ArcGIS Solutions

Kostenlose Karten- und App-Vorlagen für Ihre Branche

ArcGIS Marketplace

Rufen Sie Apps und Daten für Ihre Organisation ab.

  • Dokumentation
  • Preise
  • Support
Esri
  • Anmelden
user
  • Eigenes Profil
  • Abmelden

Help

  • Startseite
  • Erste Schritte
  • Karte
  • Analysieren
  • Verwalten von Daten
  • Werkzeuge
  • Mehr...

Create Jobs

  • Zusammenfassung
  • Verwendung
  • Syntax
  • Codebeispiel
  • Umgebung
  • Lizenzierungsinformationen

Zusammenfassung

You can create one or more jobs of the selected job type and assign the jobs to a user. The created jobs can be given a priority and have an area of interest (AOI) defined from a feature layer or feature class.

Hinweis:

The CreateJob privilege is required to create jobs.

Verwendung

  • Jobs are created with properties configured in the Job Type. If a value for the user assignment and priority are not specified, the default properties configured in the job type are used.

  • When Merge features to create one AOI is checked (Union_option = "UNION" in Python), the Number of Jobs To Create parameter is ignored and one job will be created based on the geometric union of all features in the AOI Extent parameter. If Merge features to create one AOI is unchecked (Union_option = "NO_UNION" in Python), one job will be created for each feature in the AOI Extent parameter and the Number of Jobs To Create parameter is ignored.

  • When the tool is used in a model, you can iterate through each of the output Job IDs by connecting the output to a submodel with an Iterate Multivalue iterator as the first step. This will allow you to use each newly created Job ID individually to perform further geoprocessing analysis that is included in the submodel.

Syntax

CreateJobs_wmx (Input_DatabasePath, Job_Types, Number_of_Jobs, {Users}, {Priority_of_Jobs}, {Feature_Layer_AOI}, {Union_option})
ParameterErläuterungDatentyp
Input_DatabasePath

The Workflow Manager database connection file that contains the job type information. If no connection file is specified, the current default workflow manager database is used.

File
Job_Types

The job type to be used for creating the new job.

String
Number_of_Jobs

Number of new jobs to be created. This input is ignored if the Feature_Layer_AOI parameter has a value or if Union_option = "UNION" is selected.

Long
Users
(optional)

The user the new jobs will be assigned to. If no user is specified, the default value configured in the job type is used.

String
Priority_of_Jobs
(optional)

Priority of the jobs created. If no priority is specified, the default value configured in the job type is used.

String
Feature_Layer_AOI
(optional)

The polygon features whose geometry will be used to create the Area of Interest (AOI) extent of the new job. One job will be created for each feature in the layer unless Union_option = "UNION".

Feature Layer
Union_option
(optional)

Choose whether to create one job with the union of all AOI polygons.

  • UNION —Generate one union polygon from the AOI polygons and create only one job regardless of the input number of jobs.
  • NO_UNION —Each AOI polygon is used to generate one job. The total number of jobs created is equal to the total number of polygons in the feature layer.
Boolean

Codebeispiel

CreateJobs sample codes (stand-alone Python script)

Create jobs from a job template and assign to a user.

# Import arcpy module
import arcpy

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

# Local variables:
Input_DatabasePath = "C:\\Program Files\\WMX\\Database\\wmx.jtc"
Job_Types = "Data Edits"
Users = "Postinstall User"
Priority_of_Jobs = "High"
Number_of_Jobs = 2
Feature_Layer_AOI = r"c:\AOI.gdb\AOI"
Union_Option = "UNION"

# Process: Create jobs
arcpy.CreateJobs_wmx(Input_DatabasePath,Job_Types,Users,Priority_of_Jobs,number_of_Jobs,Feature_Layer_AOI,Union_Option)

Umgebung

Dieses Werkzeug verwendet keine Geoverarbeitungsumgebungen.

Lizenzierungsinformationen

  • ArcGIS for Desktop Basic: Nein
  • ArcGIS for Desktop Standard: Erfordert Workflow Manager
  • ArcGIS for Desktop Advanced: Erfordert Workflow Manager

Verwandte Themen

  • An overview of the Workflow Manager toolbox
Feedback zu diesem Thema?

ArcGIS for Desktop

  • Startseite
  • Dokumentation
  • Preise
  • Support

ArcGIS Plattform

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

Über Esri

  • Über uns
  • Karriere
  • Insider-Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Datenschutz | Rechtliches