Skip to main content
1-Visitor
January 12, 2015
Question

How to invoke a service when new simulated data is reached to thingworx thing

  • January 12, 2015
  • 1 reply
  • 853 views

Hi
I my simulating some data to ThingWorxs and want to call a service as soon as new simulated data is received.
How to invoke or trigger a service as soon as new data is consumed ?
Thanks

    1 reply

    1-Visitor
    January 12, 2015

    Hi Rahul,


    You can use the DataChange event for that.

    Each Property comes with a build in DataChange event (type of which you can set to Always/Value/Never/On/Off)

    and then you can create a Subscription to that to fire your Service.