Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
So, we would like to let user know once more if they haven't acknowledged their alerts after 8 hours. Is it possible to do with using only ThingWorx functionality?
I can write my services and do it my own way, but if there is a way to re-generate alerts after a certain time, that would save a lot of time and work.
Thanks
Solved! Go to Solution.
There is no out of the box ready functionality for this, however, what you might do is write a custom service with some variable that gets toggled once the alert is acknowledged. Then you might implement a timer set for 8 hours and have it go off if the variable was not changed. You may reuse the same alert subscribtion. I'm sure there are other ways to go around this in a similar manner, this is just one I can immediately think of.
There is no out of the box ready functionality for this, however, what you might do is write a custom service with some variable that gets toggled once the alert is acknowledged. Then you might implement a timer set for 8 hours and have it go off if the variable was not changed. You may reuse the same alert subscribtion. I'm sure there are other ways to go around this in a similar manner, this is just one I can immediately think of.
Thanks Polina,
Do you think doing it through "subscriptions" on thingshapes would be a good idea?
I don't see why it would be a bad idea, one thing to keep in mind though in case applicable -- currently there is no way to add a subscription to a Thing Shape or a Thing Template programmatically (via a service/API).
Okay, I will keep that in mind. Thanks again!