Building and documenting workflows

此主题仅适用于 ArcEditor 和 ArcInfo。

Workflow Manager allows you to author workflows that match your own business processes and then create units of work that use these workflows. The tools provide an easy-to-use user interface that allows any authorized individual to create effective and elegant workflows for the organization.

Workflows are designed to organize and simplify tasks to ensure that no step is missed. Workflows in Workflow Manager take on a dynamic approach, as tasks may be associated with customized executables, support automation, and can be configured on a number of levels. For extra flexibility and job restraint, job workflows may be dependent on other job workflows. Even steps may be assigned on the fly and branched based on conditional parameters.

Translating your processes into a Workflow Manager workflow

Easy-to-use applications and tools provide administrators, managers, and business developers with a way to author and publish standardized workflows, leveraging best practices and procedures while providing a consistent and traceable process for users to follow. This is a guide to help you translate your existing workflows into Workflow Manager. For example purposes, a simple cartographic workflow will be used where the end goal is to have a hard-copy map.

步骤:
  1. Identify a process or type of work you want to enter into Workflow Manager.
  2. Create a map output.
  3. Break this process into specific types of activities.
  4. For this, you might first need to find all the data sources that will make up this map. It is possible that some of the data sources might need to be massaged before they can be used in a cartographic product. Once the data is ready, a map document can be created, and all the map surrounds that are needed can be created. While in ArcMap, ensure that the symbology for the data is correct. Then, you can create a test plot to verify that the output will be good. If the test plot is successful, a final .pdf and plot can be made. That process description breaks down into the following activities:

    • Data collection
    • Data processing
    • Creating the map in ArcMap
    • Performing quality control
    • Creating the final output

  5. Once the activities have been identified, translate them into Step Types in the Workflow Manager administrator by creating one step type for each activity. For now, enter these steps with a Procedural execution type.
    Step Types
    Each step type represents an activity that is performed in a workflow.
  6. Create a new job type that will act as the container for this process.
  7. Define the workflow for the job type. Drag each activity from the list of step types on the left to the workflow canvas. Link each activity with a path.
  8. Build Workflow
    Build a workflow by first selecting the activities that make up the process, then linking them together with the Draw Path tool.

    At this point, you have a simple, linear workflow as defined above. This workflow doesn't take into account some decision points, though; not all jobs will require data processing, and not all jobs will be able to continue directly to creating the final output after the Quality Control step.

  9. Add additional steps and paths to the workflow, taking into consideration any branching or looping that might need to happen.

    注意注意:

    You can add new step types directly from the workflow editor.

    Workflow Stage 2
    Next, add branching, looping, or concurrency into the workflow to better model the real-world processes.
  10. Identify steps in the workflow that could be automated. Workflow Manager provides many automated steps as part of the installation.

    You can automate steps in many ways:

    • Launch an application like ArcCatalog.
    • Execute a custom program like those provided in the custom step libraries.
    • Ask the user a question.
    • Open a file or URL.
  11. Validate and save your workflow.
  12. Associate the new workflow with the Job Type defined.

    Be sure the job type is set to active, then open the client application and create a new job using your new job type.

  13. Expect that the first few times you execute the workflow, you may want to adjust one or two things. In most cases, your workflows will be living things that change over time as your processes change due to changes in work or identification of better methods.

Other workflow editing activities include the following:

Integrating with the Task Assistant Manager

The Task Assistant Manager (TAM) is included with your Workflow Manager media kit. This solution allows you to build workflows inside ArcMap. Similar to Workflow Manager, each step in the workflow can be descriptive or start some process for the user, like clicking a button, activating an editing task, or executing a geoprocessing script.

You can integrate your Workflow Manager workflows with task assistant workflows easily using the Launch ArcMap step provided with Workflow Manager. For more information about how to accomplish this, refer to the TAM integration topic in the Configuring Workflow Manager book.

Documenting the workflow

There are several ways that you can document the processes you have built with Workflow Manager.


9/23/2010