Skip to main content
15-Moonstone
June 11, 2021
Solved

Can Alert be triggered with delay

  • June 11, 2021
  • 2 replies
  • 1886 views

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

Best answer by CZ_9645217

@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

2 replies

15-Moonstone
June 11, 2021

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

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

 

15-Moonstone
June 14, 2021

@sbt 

 

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

Community Manager
June 17, 2021

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_964521715-MoonstoneAuthorAnswer
15-Moonstone
June 18, 2021

@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

Community Manager
June 23, 2021

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