Zusammenfassung
The JobTypeobject provides access to the job types in the Workflow Manager database.
Beschreibung
The job type in the Workflow Manager database is a template for the jobs to be created.
Eigenschaften
Eigenschaft | Erläuterung | Datentyp |
ID (Nur lesen) | The ID of the JobType. | Integer |
name (Nur lesen) | The name of the JobType. | String |
Codebeispiel
The following script gets and lists all the job types in the Workflow Manager database filtered by applied job filters.
import arcpy
import arcpywmx
#Establish a connection to a Workflow database
conn = arcpywmx.Connect(r'c:\test\Workflow.jtc')
#List all job type names in the Workflow Manager database filtered by applied job filters.
conn.config.getJobTypes()