Some more advanced programming
Now that we have gone over the basics of programming, let's go a little further. We will use one of the items of the toolbox, the decision element. We will work with some other elements later on in this book, but we won't be able to cover all of them. All the elements are explained with examples in the vRealize Orchestrator Cookbook.
Adding a decision element
A decision element is what programmers call an If-clause. It checks for a condition and then points to one or the other way. A decision uses a test to check whether a certain condition has been met. The result is always true
or false
. The following three types of decision elements exist in Orchestrator:
The differences between the three decision elements are the following:
A (basic) Decision can only check whether a single parameter has fulfilled a certain condition. There are simple checks that depend on the type of the parameter. For instance, it can check whether a number is greater than a set value or...