I’m working on a notification system for our experience users and would like to trigger on demand event notifications. Everything is working as expected expect I can’t quite figure out how to get a list of users who have access to a device.
My workflow strategy has been:
on event trigger -> get event via relayId -> get device via deviceId returned from event -> get group via device tags returned.
What I now want to do is return all users associated with that group, which I can then loop on to see if they have “on-demand” notifications enabled within our experience, and if so, shoot out an event notification.
Any insight on how to get this user list, or perhaps a better way to accomplish this would be greatly appreciated.
Relevant Application: 5e7286195864100006e80f35/
Relevant Workflow: 5f15d1a1c6e3ca00072d9010