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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How to write a subscription to trigger a service which will execute and updates the DataTable

Sathya
8-Gravel

How to write a subscription to trigger a service which will execute and updates the DataTable

I wrote a service to update all the values of a thing to DataTable.

 

But i need to do the same when automatically, when the new data updates in a thing.

 

Pls support in writing a sub'n which triggers the service and updates the DataTable whenever the particular property updates in a thing

2 REPLIES 2
Sathya
8-Gravel
(To:Sathya)

Thanks all, got it

Ashritha
13-Aquamarine
(To:Sathya)

Hi,

 

Use datachange event of property in subscription. Within subscription call the service to update the value to datatable.

 

Hope this helps!!

 

Top Tags