Skip To Content

Create and execute a job

Mit der Workflow Manager-Lizenz verfügbar.

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 connect to a Workflow Manager enterprise geodatabase, create new jobs, and automatically execute new jobs.

Insert a workflow connection

A workflow connection is a connection to a Workflow Manager enterprise geodatabase and provides access to jobs in the Workflow Manager repository.

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

Hinweis:

Connections can't be made to a user-schema geodatabase in Oracle.

  1. Start ArcGIS Pro.
  2. Create a new blank project or open an existing project.
  3. On the Insert tab, in the Project group, click Connections > New Workflow Connection Neue Workflow-Verbindung.

    New Workflow Connection

    The Database Connection dialog box appears.

  4. Specify the Workflow Manager database connection information.
  5. Klicken Sie auf OK.

    The workflow connection is added to the Catalog pane under Workflows, and the Workflow pane appears.

    Hinweis:

    A project can only have one workflow connection, and the Connections > New Workflow Connection Neue Workflow-Verbindung option is automatically disabled when a workflow connection is added to a project.

For more information about the Workflow view, see Workflow view.

Create a job

New jobs are created using the Workflow tab. All active job templates are available in the Create Jobs 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. Click the Workflow tab
  2. Click a job template in the Create Jobs gallery.

    Create Job Gallery

    A job is created based on the default properties of the job template. The Job view appears and displays job information.

    Hinweis:

    The gallery can be expanded to display all job types that exist in the Workflow Manager database. Job templates can be filtered by category by choosing a category in the drop-down list at the top left of the expanded 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 Jobs group, expand the gallery by clicking the down arrow in the lower right 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. Click the Browse button Durchsuchen next to LOI Extent and browse to a feature class containing the polygons or point to be assigned as the location of interest for the jobs.
  8. Click Run.

Jobs are created for each feature in the feature class you defined in the LOI Extent parameter. 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, see Execute a workflow.

Hinweis:

A job workflow can start execution upon job creation and execute all the steps that are set to automatically execute. The Auto-execute workflow upon job creation setting is defined in Advanced workflow concepts, and the Auto-execution in a step setting is defined in Tools for configuring workflows in 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 wait for 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 Schritt(e) ausführen.
    • 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. If a step is configured so that it can be skipped, the step can be marked as complete without 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 Schritt als abgeschlossen markieren.
    • In the workflow image, right-click the current step and click Mark Step Complete.