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

Thingworx service doubts

SOLVED
Guest

Thingworx service doubts

Hi,

Am getting continuous data from simulator for example: Temperature property. I need to write service where if temperature goes out of range for 3 consecutive times in 10 minutes then that records need to be added in data-table but where do i write this service on template or thing? also records added in data-table will get displayed on mashup so how this service will get executed on TW platform? how continuous check will happen(or service will get called) on data so that out of range records should get added to data-table?

Am unable to figure out where to write that service and how that service will get invoked?

Please help

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Thingworx service doubts

Nisha Bhagtani​,

As per my understanding; you can write the Service on Thing Template level if there if there are multiple devices and at Thing level if there is single device.

You can subscribe to the Data Change event and call your Service in the Subscription so that it runs every time any data changes.

I hope it helps.

View solution in original post

3 REPLIES 3
Highlighted

Re: Thingworx service doubts

Nisha Bhagtani​,

As per my understanding; you can write the Service on Thing Template level if there if there are multiple devices and at Thing level if there is single device.

You can subscribe to the Data Change event and call your Service in the Subscription so that it runs every time any data changes.

I hope it helps.

View solution in original post

Highlighted

Re: Thingworx service doubts

Thanks it helped.

Highlighted

Re: Thingworx service doubts

I am Glad it helped.

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________