Skip to main content
Jun 11, 2021 2:16 AM UTC
Solved

Can Alert be triggered with delay

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

Jun 18, 2021 1:27 AM UTC

@slangley 

 

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

6 replies

Jun 11, 2021 5:19 AM UTC

I think the link below regarding the best practice can help your needs.

https://www.ptc.com/en/support/article/CS277057

 

Jun 14, 2021 7:02 AM UTC

@sbt 

 

If we don’t use Workflow, is there any other better way, thank you!

Jun 17, 2021 1:45 PM UTC

Hi @CZ_9645217

 

Can you please provide more details on your use case?  Also, how many alerts are you actually referring to?

 

Regards.

 

--Sharon

CZ_9645217AuthorAnswer
Jun 18, 2021 1:27 AM UTC

@slangley 

 

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

Jun 23, 2021 7:19 PM UTC

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