From a Rule:
GroupName.members.forEach[ i | i.sendCommand(i.state) ]
Where GroupName is the name of your Group.
Here’s more info on Design Pattern: Working with Groups in Rules
From a Rule:
GroupName.members.forEach[ i | i.sendCommand(i.state) ]
Where GroupName is the name of your Group.
Here’s more info on Design Pattern: Working with Groups in Rules