Skip To Content

Open Pro Project Items

The Open Pro Project Items step allows you to open existing ArcGIS Pro project items such as maps, layouts, scenes, tasks, and web maps that are configured in the project. If the item is a mapping item, data layers can automatically point to the appropriate job-specific version of the data if one is available.

Hinweis:

You can only run this step type from ArcGIS Pro. For a similar experience in the ArcGIS Workflow Manager web app, use the Open Web Page step.

When you run the step, the items defined in the step open in an ArcGIS Pro project. If View Error Inspector is enabled the Error Inspector pane appears and a layer with error features is added to the map. If help text is configured for the step, it appears at the bottom of the job tile.

When you run the step, you can perform the following actions:

  • Click Pause to pause the step and close the project items.
  • Click Finish to finish the step and close the project items.
Hinweis:

If the step isn't optional, the step must be run or paused at least once before it can be finished.

Configure the step

You can add any combination of ArcGIS Pro maps, layouts, web maps, and tasks to the step. The order of the items opened in ArcGIS Pro is defined by the order in which you add them to the step. Complete these steps to open items in an ArcGIS Pro project:

  1. Create or edit a workflow diagram to access the Step Library panel.
  2. Drag Open Pro Project Items from the Step Library to a connection arrow of a step on the workflow canvas.

    The Step Details panel appears.

  3. Provide a name for the step in the Step Name text box.
  4. In the Arguments section, click Edit.

    The ArcGIS Pro Mapping Step dialog box appears.

  5. In the Open Items section, click Open New Item to add the items you want to open in the project.
    Hinweis:

    The items must be present in the ArcGIS Pro project when the step is run or the step fails.

  6. Provide the name of the item you want to work with in the Name text box.
  7. Choose the type of item you want to work with in the Type drop-down list.
  8. If the Create Version step is used in your workflow diagram to create a job-specific version of your data, check the Repoint Version check box to repoint mapping item data layers to the job-specific version when the step is run.
    Hinweis:

    The Repoint Version check box is unavailable for task items.

  9. Optionally, repeat steps 5 through 8 to add additional items.
    Hinweis:

    To delete an item, hover over it and click the Delete Item button Delete Item.

  10. Optionally, click the Finish tab and check the Reset to Default check box to point the mapping item data layers back to the original version when the step is completed.
    Hinweis:

    The Reset to Default check box is unavailable for task items.

  11. Optionally, click the Advanced tab and configure options as necessary.
    • Zoom to Location—Zooms the map items to the job's location if a location is defined for the job.
    • View Error Inspector—Opens the Error Inspector pane for viewing error features on the map.

      For feature service data sources, error layers must be stored in the service and the data source must be branched-versioned with the validation capability.

  12. Click Save.
    Hinweis:

    The Save button isn't available when parameters are configured with invalid values.

  13. Click the Options tab.
  14. Configure Step Options as necessary.
    • Manual—Run the step manually.
      • Optional—Allow the step to be finished without being run.
    • Automatic—Run the step as soon as it becomes active.
    • Run on a Schedule—Run the step according to a schedule you set.

      Learn more about scheduling options

  15. Optionally, provide help text for the step in the Step Help text box.
  16. Optionally, click the Style tab to change the shape and color of the step.
  17. Optionally, click the About tab and provide a description for the step in the Step Description text box.
    Hinweis:

    The About tab also contains the step's ID that can be used with dynamic job properties to obtain a step's output.

Return codes

When the step finishes running, it sends a return code to indicate the result of the step. The return code is evaluated, and the workflow follows all paths that match the step's return value. The following table lists the step's return codes:

Return codeDescription

Failure

The step failed to complete successfully.

Success

The step completed successfully.

Step output

When the step finishes running, its output is stored and can be used to determine the path the workflow follows or be used as inputs for other steps throughout the workflow. The following table lists the step's stored outputs:

OutputDescription

F000001

The step failed to complete successfully.

S000001

The step completed successfully.

Verwandte Themen