Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Dear Community,
Now there is a demand, when the alert reaches the condition for more than how many minutes to trigger an event, the way I currently think of is to use Timer to control, but if there are a lot of alerts, will there be performance problems? Or is there a better way to deal with it, thank you!
Best Regards,
Chason
Solved! Go to Solution.
I have implemented it by using pause(5000) in the subscription. There are probably more than 200 alerts, but I’m not sure how efficient it is. Thank you!
Best Regards,
Chason
I think the link below regarding the best practice can help your needs.
https://www.ptc.com/en/support/article/CS277057
Hi @CZ_9645217
Can you please provide more details on your use case? Also, how many alerts are you actually referring to?
Regards.
--Sharon
I have implemented it by using pause(5000) in the subscription. There are probably more than 200 alerts, but I’m not sure how efficient it is. Thank you!
Best Regards,
Chason
Hi @CZ_9645217
Without more information, we would not be able to respond regarding efficiency. For example, you mentioned 200 alerts, but how many of these are firing in a given time range? How often are they evaluated?
You might try looking at Resources > AlertFunctions. There are services called QueryAlertSummary and QueryAlertSummaryForThing that may be useful for addressing your needs.
Please provide more information regarding your use case and we will try to be more definitive.
Regards.
--Sharon
Hi @CZ_9645217
Have you found a solution to your issues? If so, please post it here and mark it as the Accepted Solution for the benefit of others in the community. If you still have questions/issues, please let us know.
Regards.
--Sharon