Skip To Content



The HoldType object provides access to the hold types configuration element in the Workflow Manager database.


The hold types are a template for the holds used to suspend the job activity for an indefinite amount of time. The information about a hold is never deleted from the system and can be queried. A hold may be applied to a job for reasons including the following:

  • Insufficient funding
  • Technical problems
  • Missing data
  • Lack of resources


PropertyExplanationData Type
(Read Only)

The ID of the HoldType.

(Read Only)

The name of the HoldType.


Code sample

The following script gets the hold types in the Workflow Manager database and adds a budget hold to a job.

import arcpy

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

#Get a list of Hold types in Workflow database
hold_types = conn.config.getHoldTypes()

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

#Find the id of Budget Hold hold type and add a hold on the job
for hold in hold_types:
     if('Budget Hold'):
         job.addHold(,comment="Insufficient funds for digitization.")