ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Hilfe
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Die Mapping-Plattform für Ihre Organisation

ArcGIS Desktop

Ein vollständiges professionelles GIS

ArcGIS Enterprise

GIS in Ihrem Unternehmen

ArcGIS 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
  • Support
Esri
  • Anmelden
user
  • Eigenes Profil
  • Abmelden

ArcMap

  • Startseite
  • Erste Schritte
  • Karte
  • Analysieren
  • Verwalten von Daten
  • Werkzeuge
  • Erweiterungen

WorkflowPath

  • Zusammenfassung
  • Auswertung
  • Eigenschaften
  • Codebeispiel

Zusammenfassung

The WorkflowPath object provides access to the attributes of a path contained within a job Workflow.

Auswertung

The WorkflowPath object supports describing a path and navigating through the workflow.

Eigenschaften

EigenschaftErklärungDatentyp
description
(Nur lesen)

The description of the path, also known as the path name.

String
fromStep
(Nur lesen)

The ID of the WorkflowStep object the path originates from.

Integer
toStep
(Nur lesen)

The ID of the destination WorkflowStep object the path is headed towards.

Integer

Codebeispiel

WorkflowPath example

The following script obtains a workflow path's description and the step IDs of the steps that go into and out of the path.

import arcpy
import arcpywmx

# Establish a connection to a Workflow database
conn = arcpywmx.Connect(r'c:\test\Workflow.jtc')

# Access a Job
job = conn.getJob(99999)

# Access a the job's workflow
workflow = job.getWorkflow()

# Access the first step in the workflow
step = workflow.steps[0]

# Access the paths following the first step in the workflow
paths = step.nextSteps

# Access the first path and print the ID of the step it leads to
path = paths[0]

print('The ID of the step that follows the first step is ' + str(path.toStep))

ArcGIS Desktop

  • Startseite
  • Dokumentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Über Esri

  • Über uns
  • Karriere
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Wir sind an Ihrer Meinung interessiert.
Copyright © 2021 Esri. | Datenschutz | Rechtliches