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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

datachange event of infotable property in thingtemplate

AP_9587236
17-Peridot

datachange event of infotable property in thingtemplate

AP_9587236_0-1643367292855.png

I have a property in thingtemplate of infotable type. This thingtemplate is attached to remote thing. If one row gets added, i have to run a service. So i tried datachange event but the subscription doesnt trigerred. How to execute this.

ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:AP_9587236)

Set your DataChange type to Always

For infotables, the Data Change / Value will only trigger when the number of rows changes.

Set it Always means the Data Change will fire each time the field is updated, which is what you'll need.

IF the agent is writing the same values at times, you'll need to do some validation if you don't want to use those values.

View solution in original post

1 REPLY 1
PaiChung
22-Sapphire I
(To:AP_9587236)

Set your DataChange type to Always

For infotables, the Data Change / Value will only trigger when the number of rows changes.

Set it Always means the Data Change will fire each time the field is updated, which is what you'll need.

IF the agent is writing the same values at times, you'll need to do some validation if you don't want to use those values.

Announcements


Top Tags