Hi there,
with the AND and OR operators currently available the following expression throws an error when a flag data item is not set.
IsFlag([Flag Item]) AND [Flag Item]
Returns Error: ... right-hand-value is empty.
If Blue Prism would support conditional logical operators like && and || in C# repectively AndAlso and OrElse in VB.NET the expression in this example would be valid. The evalauation of the expression would stop if IsFlag() returns False becuase the whole expression couldn't be True anyway.
We could use a single decision stage only and could use this kind of expressions in choices.
Currently there are two options:
- always set a default value for flags
- break the expression mentioned above up in two decisions and execute the second decision only if IsFlag() = True
With choices this cannot be handled easily.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.