Format Rule in expressions

Hey folks.

Quick question. Iโ€™m wondering if there is a way to check if a format rule is true in an expression.

I have a Format Rule called โ€œMember Postโ€ that changes a nameโ€™s text color based on certain conditions.

I have another Format Rule called โ€œUnder 30โ€ that changes the same nameโ€™s text color based on a different set of conditions.

But the โ€œUnder 30โ€ rule is overwriting the โ€œMember Postโ€ rule, so i want a way to say โ€œIf Member Postโ€ Format rule is true, donโ€™t trigger.

Any ideas?

Solved Solved
0 4 291
1 ACCEPTED SOLUTION

Sorry, my bad.

There is not a way to set one rule expression based on another rule. You would need to make the rules mutually exclusive for the condition(s) that are causing them both to be triggered at the same time.

View solution in original post

4 REPLIES 4

Yes you can test the Format Rule. Open the Rule and go into the expression assistant for the โ€œIf this condition is trueโ€ property. Tap/Click on the โ€œTestโ€ button. This will evaluate you expression against each row in the table the rule is set in. The first column in the test results gives you a โ€œYโ€ or โ€œNโ€ response to tell you if the row will trigger the rule.

@WillowMobileSystems Iโ€™m a bit confused. Iโ€™m in the Expression Assistant, but only see the conditions for the rule Iโ€™m currently in.

To be clear, what i want is to write a condition in the Under 30 Format Rule to check if the Member Post Format Rule is true.

In other words, use one Format Rule to check another Format rule. Is that the solution youโ€™re mentioning?

Sorry, my bad.

There is not a way to set one rule expression based on another rule. You would need to make the rules mutually exclusive for the condition(s) that are causing them both to be triggered at the same time.

NP, All good @WillowMobileSystems . Disappointing, no doubt, but i knew it was too good to be true. Thanks for the info.

Top Labels in this Space