Jython Group Filters

I think it would be good to take a step back and look at your whole rule and what you are trying to do with it. What is triggering this to be run? I’m guessing without seeing the rest, but it it seems like this could be better implemented by triggering when a member of gPresence changes to OFF, or if gPresence was setup with an aggregation function, trigger the rule when it changes. The latter implements…

I get that you are trying to migrate though and I’ve been through that grind. It just might be better to tweak some things that could be better implemented rather than recreating the bad habits of the DSL. :slightly_smiling_face: