ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Workflow

  • Summary
  • Discussion
  • Properties
  • Code sample

Summary

The Workflow object provides access to properties to interact with the Workflow Manager (Classic) workflow of a job.

Discussion

Represents the workflow structure of a job. A workflow contains steps representing individual tasks, connected by paths that define the flow. Each individual task that must be completed to complete the business process is identified and created as a step. Steps are instances of step types and are associated with a specific workflow. A workflow can have multiple instances of the same step type, and each of the instances can have properties configured in a different way from others.

Properties

PropertyExplanationData Type
name
(Read Only)

The name of the Workflow.

String
steps
(Read Only)

Returns a list of the WorkflowStep objects that compose the workflow.

Object

Code sample

Workflow example 2

The following script gets a job's workflow from the Workflow Manager (Classic) database and displays its name.

import arcpy
import arcpywmx

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

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

# Access a the job's workflow
workflow = job.getWorkflow()

# Print the name of the workflow
print(workflow.name)

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

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

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal