Skip To Content

Create and execute a job

Available with Workflow Manager license.

In ArcGIS Pro, the Workflow view provides access to the workflow connection. New jobs can be created in the Workflow view and executed in the Job view. The following information can help you get started: connect with a Workflow Manager enterprise geodatabase, create new jobs, and execute the new jobs.

Add a workflow connection

A workflow connection is a connection to the Workflow Manager enterprise geodatabase and provides access to the jobs within the Workflow Manager repository. A project can have only one workflow connection, and it is added using the Add Workflow Connection button under the Connections drop-down list on the Insert tab. Once the workflow connection is established in the project, the Workflow view and the tab are enabled. The Add Workflow Connection button under the Connections drop-down list on the Insert tab is disabled once the workflow connection has been added in the project.

Add Workflow Connection

The following steps describe how you can connect to a workflow connection in a project:

  1. Start the ArcGIS Pro application.
  2. Create a new blank project or open an existing project.
  3. Click Connections on the Insert tab and click Add Workflow Connection Add Workflow Connection.

    The Database Connection dialog box appears.

  4. Specify the Workflow Manager database connection information.
  5. Click OK.

Once the workflow connection is established, it's added to the Catalog pane under Workflows, and a Workflow view opens. For more information about the Workflow view, see Workflow view.

Note:

Currently, connections cannot be made to a user-schema Oracle geodatabase.

Create a job

In ArcGIS Pro, a new job is created using the Workflow tab. All the active job templates are available in the Create Job gallery.

Create Job Gallery

A new job is created by creating an instance or a copy of the job template based on the properties of the predefined job template.

  1. On the Workflow tab, browse to the Create group.
  2. Click a job template in the gallery.

    A job is created based on the default properties of the job template. The Job view opens to display the job information.

    Note:

    The gallery can be expanded to display all the job types that exist in the Workflow Manager database. Job templates can be filtered by category by choosing the category in the drop-down list at the top left of the gallery.

Create multiple jobs with location of interest

The Advanced option on the create job gallery is used to create multiple jobs and assign a location of interest.

  1. On the Workflow tab, in the Create group, expand the gallery by clicking the down arrow in the lower left corner.
  2. Click Advanced.

    The Create New Jobs tool opens in the Geoprocessing pane.

  3. Click the Job Type drop-down arrow and choose a job template.
  4. Click the Assignment Type drop-down arrow and choose whether the job will be assigned to a user, group or remain unassigned.
  5. Click the Assigned To drop-down arrow and choose a user or group.
  6. Click the Priority drop-down arrow and choose a priority .
  7. Browse to a feature class containing the polygons or point to be assigned as the location of interest of the jobs, as the value for LOI Extent.
  8. Click Run.

Multiple jobs are created, one for each feature in the feature class provided. The location of interest for each job is based on the geometry of features.

Execute a job

A job workflow executes using the workflow execution tools available on the Job tab and in the context menu available on the workflow image. For more information about the Job view, see Job view.

Note:

A job workflow can start execution upon job creation and execute all the steps that are set to automatically execute. The setting to Auto-execute workflow upon job creation is defined in Advanced workflow concepts, and the setting to Auto-execution in a step is defined in Tools for configuring workflows within Workflow Manager Administrator. Once applied, these settings are consumed by ArcGIS Pro. When two or more consecutive steps are set to automatically execute, the job's workflow can be run in unattended mode. If a step requiring interaction is included in the workflow, the job will stop at the step and await user feedback to continue execution.

Execute a step

In the case of an automated step, this marks the step as started and executes the step logic associated with the step. In the case of a procedural step, it marks the step as started. If the step being executed is configured to move to the next step after execution, the current step is marked as complete, and the workflow moves to the next step after the current step is executed for both automated and procedural steps.

The current step can be executed from the Job tab or workflow image context menu.

  1. Open a job.
  2. Do one of the following to execute a step:
    • On the Job tab, in the Workflow group, click Execute Step Execute Step.
    • In the workflow image, right-click the current step and click Execute Step.

Mark a step as complete

If a procedural step is not configured to move to the next step after execution, it needs to be manually marked as complete using this functionality. If a step is configured so that it can be skipped, the step can be marked as complete without first executing the step.

The current step can be marked as complete from the Job tab or workflow image context menu.

  1. Open a job to mark steps as complete.
  2. Do one of the following to mark a step as complete:
    • On the Job tab, in the Workflow group, click Mark Step Complete Mark Step Complete.
    • In the workflow image, right-click the current step and click Mark Step Complete.