If..ElseIf..Else

<< <%SKIN-STRTRANS-SYNTOC%> >>

Navigation:  Agent Commands > Branch Commands >

If..ElseIf..Else

The If..ElseIf..Else container command provides standard conditional branch functionality. If the condition is true the sub-commands are executed. Otherwise the sub-commands are skipped.

 

branchCommand
If..ElseIf..Else branch command configuration.

 

The Branch Type can be If, ElseIf or Else. An ElseIf branch command must come after an If branch, and an Else branch command must come after an If or ElseIf branch command. If, ElseIf and Else branch commands must have the same parent command in order to work together.

 

branchAgentExample
Agent with If..ElseIf..Else branch commands.