ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • ヘルプ
  • Sign Out
ArcGIS Desktop

ArcGIS Online

組織のマッピング プラットフォーム

ArcGIS Desktop

完全なプロ仕様の GIS

ArcGIS Enterprise

エンタープライズ GIS

ArcGIS Developers

位置情報利用アプリの開発ツール

ArcGIS Solutions

各種業界向けの無料のテンプレート マップおよびテンプレート アプリケーション

ArcGIS Marketplace

組織で使えるアプリとデータを取得

  • ドキュメント
  • サポート
Esri
  • サイン イン
user
  • マイ プロフィール
  • サイン アウト

ArcMap

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • エクステンション

Hold

  • 概要
  • ディスカッション
  • プロパティ
  • コードのサンプル

概要

The Hold object provides access to the hold associated with the job.

ディスカッション

Holds suspend the job activity for an indefinite amount of time until it is released. A hold can be applied to a job for the following reasons:

  • Insufficient funding
  • Technical problems
  • Missing data
  • Lack of resources
The information about a Hold is never deleted from the system and can be queried.

プロパティ

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

Indicates whether the hold is currently active or has been released.

Boolean
comment
(読み取り専用)

The comment stored as a reason for adding the hold.

String
holdDate
(読み取り専用)

The date and time when the hold was added to the job.

DateTime
ID
(読み取り専用)

The ID of the hold associated with the job.

Integer
releaseDate
(読み取り専用)

The date and time when the hold was released.

DateTime
releaseBy
(読み取り専用)

The user name of the user who released the hold.

String
type
(読み取り専用)

The name of the HoldType template used to create the job hold.

String
typeID
(読み取り専用)

The ID of the HoldType template used to create the job hold.

Integer

コードのサンプル

Hold example

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

import arcpy
import arcpywmx

# Establish a connection to a Workflow database
conn = arcpywmx.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 hold.name == 'Budget Hold':
         job.addHold(hold.id,comment="Insufficient funds for digitization.")

ArcGIS Desktop

  • ホーム
  • ドキュメント
  • サポート

ArcGIS

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

Esri について

  • 会社概要
  • 採用情報
  • Esri ブログ
  • ユーザ カンファレンス
  • デベロッパ サミット
Esri
ご意見・ご感想をお寄せください。
Copyright © 2021 Esri. | プライバシー | リーガル