cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Delay notification on thingtemplates

nkhose
12-Amethyst

Delay notification on thingtemplates

I'am having multiple thing templates .. i'am working on notification system where we having a delay on each template saved in datatable for eg 15 min or 20 min . I want to send emails when thingtemplate goes online or offline  after that delay ,as i can see lastconnection property is system one which gets updated only when connected and not when disconnected . Do i need to have a custom myproperty on thingtemplates to save the lasttimestamp that is saved .by this i can check the delay . Pause didn't work for larger delays and i dont want to loop over timestamps avoid CPU usage

1 REPLY 1
ttielebein
14-Alexandrite
(To:nkhose)

Sorry, I am not sure your use case is totally clear. What do you mean by "thing template goes online or offline"?

Announcements


Top Tags