Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi,
i want to write a subscriber inside a thing that will run only at a certain alert happens, I am currently using the alert event and it works fine only if there is only one alert configured on the property but when i have for example two alerts on one property how I can detect which alert triggered the alert event, in other words, i want a script that will detect which alert is active now
thanks,
Solved! Go to Solution.
Hi @IA_10816220
You can use AlertName or eventData.name to identify which alert is triggered.
And GetAlertSummary will provide list of active alerts
/VR
Hi @IA_10816220
You can use AlertName or eventData.name to identify which alert is triggered.
And GetAlertSummary will provide list of active alerts
/VR
Hello @IA_10816220,
It looks like you have a response from a community member. If it helped you solve your question please mark the reply as the Accepted Solution.
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.
Thanks,
Vivek N.
Community Moderation Team.