We need to create a new Custom Event for the devices which are part of a Global Collection. So maybe use Attributed ID to match against a Global Collection?
N/A
Release : 10.x / 20.2 / 21.2
Component : Spectrum Core / SpectroSERVER
One possible solution would be to check the CollectionsModelNameString/0x12adb attribute for the desired Global Collection name.
example event procedure
0xfff00000 E 20 P "If( \
Regexp( \
ReadAttribute( \
{ C CURRENT_MODEL }, \
{ H 0x12adb } \
), \
{ S \"Lab Machines\" } \
), \
CreateEventWithVariables( \
{ C CURRENT_MODEL }, \
{ H 0xfff00003 }, \
GetEventVariableList() \
), \
Nill() \
)"