Exercise 1: Edit a workflow
 
 
 

A workflow automates a set of processes. You can specify the parameters for the processes, or fill them in when you (or others) run the workflow.

In this lesson, you edit the predefined workflow that connects to two data stores and compares the resulting feature layers with an overlay. You will specify the same data stores and overlay parameters that you used in Lesson 4: Perform a Flood Analysis with Overlay.

To edit the workflow

  1. In AutoCAD Map 3D, create a map.
    • Click New Drawing.
    • Select the map2d.dwt template and click Open.
  2. Click Tools tabWorkflow panelEdit. At the Command prompt, enter MapWorkflowEdit.
  3. In the Workflow Designer, expand the parallel activity at the top of the workflow diagram.

    Each entry within the parallel activity connects to one of the data stores you need. Because the connections are parallel, AutoCAD Map 3D performs them both, even if the first one fails. If one of the connections fails, AutoCAD Map 3D tries it again until it times out.

    Expand the parallel activity to see the activities inside it.

  4. In the parallel activity, double-click the first Connect To An FDO Data Store activity.
  5. Set the parameters for the first connection activity.
    • In the Connect To An FDO Data Store window, change the Provider to OSGeo.SDF.3.4.
    • Click next to File Name and navigate to the FLOODZONE.SDF file.

      Set the parameters for the Connect To An FDO Data Store activity.

    • Click Show Optional Parameters and change the name of this workflow step to indicate the name of the data store.

      Specify the data store file and display name.

    • Clear the check box for Prompt For Parameters At Run Time.
    • Click OK.
  6. In the parallel activity, double-click the second Connect To An FDO Data Store activity.
  7. Set the parameters for the second connection.
    • In the Connect To An FDO Data Store window, change the Provider to OSGeo.SDF.3.4.
    • Click next to File Name and navigate to the E-ZONE.SDF file.
    • Click Show Optional Parameters and change the name of this workflow step to indicate the name of the data store.
    • Clear the check box for Prompt For Parameters At Run Time.
    • Click OK.
  8. For the first Create Layer activity, change the parameters:
    • In the parallel activity box, double-click the first Create Layer activity.
    • Click next to Connection ID.
    • Under the Connect To FLOODZONE.SDF item, click ID.
    • Click OK.
  9. For the second Create Layer activity, change the parameters:
    • In the parallel activity box, double-click the Create Layer activity.
    • Click next to Connection ID.
    • Click ID under Connect To E-ZONE.SDF.
    • Click OK.

To continue this tutorial, go to Exercise 2: Complete the workflow definition.