Using Switch Steps and Conditions in Processes

Every connection (except connections from the Start step) has a conditional flag. The conditional flag enables you to set a condition on a connection. The condition refers to the processing status of the originating step–success or failure. Possible flag conditions are:


The process completed successfully.


The process did not finish successfully.


Accept either status.

By default, all connections have the flag set to checked (true), meaning the originating step must successfully end processing before the target step starts processing.

To change a flag's value, cycle through possible values by clicking the flag.

Process with Switch Step

A switch step is a utility step supplied by Deployment Automation that enables process branching based on the value of a property set on the step.

The following figure illustrates a switch step. In this case, the switch property is The connections from the switch step represent process branches dependent on the value of In this example, regardless of which branch is taken, the process will proceed to the Run WLDeploy step.

Process with Switch Step


Run WLDeploy has success and fail conditions. See the Serena Deployment Automation Plugin Guide for more information.

Switch steps are processed as follows:

Note: By default, Deployment Automation resolves expressions in Set and Switch steps, but you can configure the server so that it doesn't. For details, refer to Knowledgebase item S141763.