The BusinessEvents rule Language includes commands to perform conditional branching and iteration loops. This section describes these commands.The if/else command allows you to perform different tasks based on conditions.The for command allows you to create a loop, executing a code block until the condition you specify is false.break allows you to break out of the loop.continue allows you to stop executing the code block but continue the loop.This example prints "Hello World!" to debugOut ten times.The while command allows you to perform one or more tasks repeatedly until a given condition becomes false.while(condition){break allows you to break out of the loop.continue allows you to stop executing the code block but continue the loop.
Copyright © TIBCO Software Inc. All Rights Reserved.