Page tree
Skip to end of metadata
Go to start of metadata

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



Using the If and Else Actions, you can create a work flow that can handle a scenario where you want to execute a different set of Actions on a certain day of the month. In this example, I have setup the If 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 Action as a child of the If Action, inserted an Else Action and placed an Execute Program Action as a child of the Else Action. 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 Action. Here's what the final work flow looks like.


  • No labels