Application processes direct underlying component processes and orchestrate multi-component
deployments.
An application process, like a component process, consists of steps that are configured
with the process editor. In this lesson, you create an application process that installs the
helloWorld component by calling the component process that you created earlier.
To create an
application process:
- Click the Applications tab and then click the
helloWorld application.
- Click Processes and then click Create
New Process.
- In the Create an Application Process window, name the new application
process something like hello App Process.
- Accept the default values for the other fields and click Save.
- To open the new process in the process editor, click the new process.
- Add a step that deploys the helloWorld component:
- From the list of steps, add an Install Component step to the design
area.
- In the Edit Properties window, name the step something like
Deploy helloWorld.
- In the Component list, select the helloWorld
component. All components that are associated with an application are available.
- In the Component Process list, select the
helloProcess component process. If multiple processes were defined for the helloWorld component, they are listed.
- In the Limit to Tag list, select the blueCycle
tag that you defined earlier. After you select blueCycle, the application deploys only components
with this tag.
- Accept the default values for the other fields and click Save.
- Connect the Start step to the Deploy helloWorld
step.
- Connect the Deploy helloWorld step to the Finish
step.
- Save the process by clicking the Save icon under
Tools.
The complete application process looks like the following figure:
Note: You might be wondering why you need an application-level process when the component
process that it calls does the actual deployment. The answer is that for a simple, single-component
deployment like this one, an application-level process might not be required. After a component is
assigned to an application, you can run the component process without first defining an
application-level process. You might also skip an application-level process when you are testing or
patching a component. But for complex deployments, and especially for deployments that have more
than one component, you must create one or more application-level processes.