Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi i need to create a service, which need to be executed automatically in the thingworx server (like windows service).
It actually check the schedule and execute few actions based on the schedule.
it need to be keep on executing automatically in the background.
How can we achieve this
You have two Thing templates option to inherit from in order to do this:
Hi It would be very helpful if you could provide some samples on how to work with timer template.
How do i trigger a service automatically at particular time interval.
I need to call the service in any events ?
Hi
1)If you have inherited from thing template Timer , you then add a new subscription ,selecting Timer as event in that you can call any Thing service as like
Things["Notification"].DetectChanges();
2) If you want a event wise notification (some property change) you can add subscription ,select Event as Datachange and then select the property that will change in time