Step 11: Designing the Application Process

Application processes direct underlying component processes and orchestrate multi-component deployments. The Install Component step, which we will use here, enables you to select a component process from among those defined for each component. Remember that a component can have more than one process defined for it.

You might be wondering why you need to create an application-level process when the process you created for the component should be able to perform the deployment by itself. While individual component processes can be run outside an application process, an environment must still be mapped to it and an agent associated with it, which are done at the application level. For a single-component deployment like helloWorld, an application-level process might not be required. You may also want to skip an application-level process when you are testing or patching a component. But for non-trivial deployments, and especially for deployments that have more than one component, you should create one or more application-level processes.

To create an application-level process, you define the individual steps as you did earlier when you created the helloWorld component process.

  1. Navigate to the application process you just created, helloWorld App Process. The available process steps are listed in Tools.
  2. Drag and drop the Install Component step onto the design area. Properties are automatically shown when you define or edit a step.

    Properties

    image

    Select the helloWorld component from the Component drop-down menu.

  3. Enter a name in the Name field. For example, Install helloWorld
  4. Select the helloWorld component from the Component drop-down menu.

    If we wanted this application to install multiple components, we could add a separate Install Component step for each one.

  5. In the Component Process drop-down menu, select the component process you created earlier, hello_worldInstall. All processes defined for the selected component are listed. If the component had another process that deployed it to a different location, you could add another Install component step that used that process, simultaneously installing the component into two different locations.

    Accept the default values for the other fields.

  6. Connect the step to the Start and Finish steps.

    Finished Application Process

    image

  7. Save the process by clicking the Save icon (image).