Using the service GetUserRecipientsOfEvent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Using the service GetUserRecipientsOfEvent
Looking to make use of the service:
GetUserRecipientsOfEvent
I am unsure of the input's and what to populate them with.
I am expecting to get a list of users from the Test trigger that I've created.
Here is the trigger:
I've followed this guide to get the custom handler working to a point where I am able to see that the handler is triggered from logging inside the service. I am aware this this guide is for thingworx apps and I am using foundation but it does work. Working with Thingworx 9.4.4.
Now I would like to get it fully working by retrieving the list of recipients and then referencing them so that I can actually notify the users included in the recipient list.
Hoping someone here has used this service and can point me in the correct direction.
Solved! Go to Solution.
- Labels:
-
Troubleshooting
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
After some trial and error, here is the solution:
- Handler ID is an alpha numeric value that is found by running .GetAvailableHandlers()
- Entity Name is the name of the thing
- entity type, in my case was just 'Thing'
- eventName is the eventType so can be alert or AnyDataChange, etc. In my case is was 'DataChange'
- propertyName is the property from the entitiy that you wish to return
- I left alert bank and received my recipent list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
After some trial and error, here is the solution:
- Handler ID is an alpha numeric value that is found by running .GetAvailableHandlers()
- Entity Name is the name of the thing
- entity type, in my case was just 'Thing'
- eventName is the eventType so can be alert or AnyDataChange, etc. In my case is was 'DataChange'
- propertyName is the property from the entitiy that you wish to return
- I left alert bank and received my recipent list.
