I don’t understand how this part of the plugin works.
It’s supposed to cache a value depending on if some output is true or not.
Below is a screenshot of the options and documentation it provides.
I don’t understand how this part of the plugin works.
It’s supposed to cache a value depending on if some output is true or not.
Below is a screenshot of the options and documentation it provides.
It’s just a boolean expression evaluator. The key/value pairs give you a way of ORing or ANDing different expressions.
The interface is weird, but it’s a decent use for the key/value pair input which I’ve never found a use for.
Anyway, what it’s trying to say is:
Write your boolean expression(s) in the value (right hand) part of the key/value fields.
The key part can be anything, but if you want to group some expressions as ANDed, give them the same key. (Different keys will be ORed.)
Example:
A = ExA1
A = ExA2
B = ExB1
B = ExpB2
C = ExC1
Means
(ExA1 and ExA2) OR (ExB1 and ExB2) OR ExC1
BTW I’ve never seen this plugin but I get what it’s trying to do.
Also it doesn’t “cache” a value: for true it PUBLISHES the true expression value and for false publishes the false value to some output.
(Perhaps the author of this plugin isn’t a native English speaker. Their English isn’t bad, but not exactly precise.)
Thanks so much for the response! This is super helpful!