For Each Agent step

Include vertical iterations in application processes.

Applications, components, and generic processes share some process steps. This step applies only to application processes.

This step provides vertical iterations, or iteration containers, for application processes. If, for example, you have numerous application servers, you can use this step to employ all agents in the environment to simultaneously deploy components to the servers. In this case, using this step means that overall deployment is not impacted even if one application server is slow.

This step runs the process that is defined within the container for each agent in the application environment. The workflow in the container has its own context, and its own start and finish steps, as shown in the following figure. You can use any step within the container to define the subprocess. An iteration container can connect to any step, even other iteration containers.

A process that includes a For Each Agent step

Iteration properties

The For Each Agent step has properties, called iteration properties, that can be used to reference steps within the iteration context. By using these properties, for example, you can identify the current agent within the context. To reference iteration properties, use the following format: ${p:iteration/<name>}.

Iteration properties for the For Each Agent step

To view iteration properties, display the iteration properties log for a particular application by clicking Applications > application_name > History > View Request > Iteration Properties .


Feedback