Flipping Boolean tag

Is this related to your previous question, Adding values together only if tag is true?

The Expression Language has a built-in negation, !. The expression I gave would convert to,

!{[default]Bool0} * {[default]Other0} +
!{[default]Bool1} * {[default]Other1} +
!{[default]Bool2} * {[default]Other2} +
... +
!{[default]Bool159} * {[default]Other159}

Python / Jython has the not operator.

4 Likes