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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

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

Sathya
9-Granite

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
9-Granite
(To:Sathya)

Thanks all, got it

Ashritha
15-Moonstone
(To:Sathya)

Hi,

 

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

 

Hope this helps!!

 

Announcements


Top Tags