JobType

概要

The JobType object provides access to the job types in the Workflow Manager (Classic) database.

ディスカッション

The job type in the Workflow Manager (Classic) database is a template for the jobs to be created.

プロパティ

プロパティ説明データ タイプ
ID
(読み取り専用)

The ID of the JobType.

Integer
name
(読み取り専用)

The name of the JobType.

String

コードのサンプル

JobType example

The following script gets and lists all the job types in the Workflow Manager (Classic) database filtered by applied job filters.

import arcpy

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

#List all job type names in the Workflow database filtered by applied job filters.
conn.config.getJobTypes()