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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again 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.

1 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.

Top Tags