cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Logical expressions in Link editor

Former Member
0 Likes
193

Hi all,

Is it possible to define logical expressions (using AND, OR) in the Link editor of BLS or are we left with only using the Conditional Action block? Thanks...

Accepted Solutions (1)

Accepted Solutions (1)

abesh
Contributor
0 Likes

Yes it is.

For AND : <<Condition1>> <b>&&</b> <<Condition2>>

For OR : <<Condition1>> <b>||</b> <<Condition2>>

You can use the <b>double ampersand (&&)</b> for <b>AND</b> and <b>double pipe (||)</b> for <b>OR</b>

abesh
Contributor
0 Likes

Apparently the above does not work !

But using <b>"and"</b> and <b>"or"</b> in <b>lowercase</b> seems to work fine !!!

eg:

<<Condition1>> <b>and</b> <<Condition2>>

<<Condition1>> <b>or</b> <<Condition2>>

Answers (1)

Answers (1)

Former Member
0 Likes

Also, it is good practice to use parentheses when performing logical operators - it will make the statements easier to read.