I have 2 things where alerts are generated I need to delete the alerts from the 2 thing
is there any particular service to delete alert history of particular thing or if not do we need to write a custom service to delete.
Solved! Go to Solution.
Alert History is a Stream, so doing this would leverage the standard Stream principles. However, I believe that it is a System Object, so you may or may not be able to execute APIs to delete entries like you are looking to do. If not, then it would be how the ThingWorx R&D is indicating that this is internal and shouldn't be messed with.
If you are heavily using Streams, then you should have a data management strategy associated with this Stream as it can grow quite large and cause performance issues if it is not being purged.
Probably custom service. But sometimes, not always, when expected functionality is not there, it could make you think if you are doing the right thing. Maybe they are not supposed to be deleted.
In your case, is deleting alerts the right thing to do? You could just acknowledge them, or prevent the alerts to be raised in the first place. I don't know your use case, just sayin...
Alert History is a Stream, so doing this would leverage the standard Stream principles. However, I believe that it is a System Object, so you may or may not be able to execute APIs to delete entries like you are looking to do. If not, then it would be how the ThingWorx R&D is indicating that this is internal and shouldn't be messed with.
If you are heavily using Streams, then you should have a data management strategy associated with this Stream as it can grow quite large and cause performance issues if it is not being purged.
Hi @SD_10134497,
I wanted to follow up with you on your post to see if your question has been answered.
If so, please mark the appropriate reply as the Accepted Solution for the benefit of other members who may have the same question.
Of course, if you have more to share on your issue, please let the Community know so that we can continue to support.
Thanks,
Abhi