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

StatusType

  • Zusammenfassung
  • Auswertung
  • Eigenschaften
  • Codebeispiel

Zusammenfassung

The StatusType object provides access to the status type configuration elements in the Workflow Manager (Classic) database.

Auswertung

The status types are a template for the statuses used to describe the states that a job moves through during its execution.

Eigenschaften

EigenschaftErklärungDatentyp
caption
(Nur lesen)

A caption about the StatusType.

String
description
(Nur lesen)

A description about the StatusType.

String
ID
(Nur lesen)

The ID of the StatusType.

Integer
name
(Nur lesen)

The name of the StatusType.

String

Codebeispiel

StatusType example

The following script gets the status types in the Workflow Manager (Classic) database.

import arcpy
import arcpywmx

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

#Get a list of Status Types in the Workflow database
statustypes = conn.config.getStatusTypes()

#Access a Workflow Job 
job = conn.createJob(job_type_name="Landbase Updates")

#Find the name of the status type with an id of 2 and use the value to change the job's status
for statustypeid in statustypes:
     if statustypeid.ID == 2:
         job.status = statustypeid.name

#Print the name of the job's new status
print(job.status)

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