Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The If and Else Action actions work hand in hand as expected. The If Action action uses Continua Conditions just like the While ActionactionAgent RequirementsStage Gates and Configuration Conditions. If the condition evaluates to true then the children of the If Action action are executed, otherwise the children of the Else Action action are executed if an Else Action action exists.

Note: The Else Action action is optional.

If Action

Name

...

Example

Using the If and Else Actionsactions, you can create a work flow that can handle a scenario where you want to execute a different set of Actions actions on a certain day of the month. In this example, I have setup the If Action action so it will evaluate to true when it's the 15th of any month according to the Agent's clock.

...

I have then placed a Delay Actionaction as a child of the If Actionaction, inserted an Else Action action and placed an Execute Program Actionaction as a child of the Else Actionaction. The effect is, if it's the 15th day of the month then the work flow will delay for 60 seconds, otherwise it will execute a program which I specified in the Execute Program Actionaction. Here's what the final work flow looks like.

...