Conditional and while
loop objects are special control objects that branch the execution logic at the workflow level. In this recipe, we will modify the job from the previous recipe to make the execution of our workflow objects more flexible.
Conditional and loop structures in Data Services are similar to the ones used in other programming languages.
For readers with no programming background, here is a brief explanation of conditional and loop structures.
The
IF-THEN-ELSE
structure allows you to check the result of the conditional expression presented in theIF
block and executes either theTHEN
block orELSE
block depending on whether the result of the conditional expression isTRUE
orFALSE
.The
LOOP
structure in programming language allows you to execute the same code again and again in the loop until the specified condition is met. You should be very careful when creating loop structures in programming language and...