This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

When an advanced condition with an expression is placed right after an open Subform/Subview action in a rule, the advanced condition may evaluate incorrectly.

Symptoms

If your rule actions are set similar to the following:

Image

And if an expression is used in the advanced condition after the "open Subform" action:

Image

The advanced condition may not evaluate correctly.

Resolution

To resolve this issue, add another data label and set it to the expression that you want to use in the advanced condition. Next, set the advance condition to evaluate using this data label instead.