Group notifiers: dynamically assign Groups in your event rules
Using Group notifiers, you can dynamically assign Groups to your users as notifications in Event Rules. This allows, for example, to add Users to different Groups in an automated way.
Usage example
Group Notifiers could have many usages and could be used in many different ways.
In this example, we will use Group Notifiers to add a group of moving assets to the Group Online. The rest of the assets will remain in the Group Offline.
1. Create Groups that you will use with your Group Notifiers.
For example, you can create two sets of Groups, one called Online, and another called Offline. These Groups will represent assets that are reporting (online) or not (offline) to the platform.
When creating the Online Group, we won't select any users belonging to this Group to start with. On the other hand, when creating the Offline Group we will select all the assets we have in the application (for this example, we will assume that all users are offline by default).
Read how to use and create Groups here.
2. Create an event rule and follow the wizard until you reach step 4.
Read more about how to create event rules here.
Select Analog Expression use Speed as a variable and set it this way:
3. On step 5, select Group Notifier as a notification type.
Select your Groups this way:
By doing this, you are telling the platform to add all your moving assets into the Group Online. When this rule state is false, it will keep or add any asset whose speed is not > 0, to the Group Offline.
4. Save your event rule.