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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Delay notification on thingtemplates

nkhose
1-Newbie

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
12-Amethyst
(To:nkhose)

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

Top Tags