Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi!
I'm trying to launch a subscription when a change is made in the configuration tables of a thing. The generic event ThingStart is useful if the configuration tables are changed manually, since it triggers on Save. It won't work though if the change to the configuration table data comes from the generic services like SetConfigurationTable.
I was wondering if there is a way to set an Event to trigger when a generic service like SetConfigurationTable is completed. A workaround would be to set an Event to trigger when the data in configuration tables changes, but the Event dataChange seems to only works for properties. Is there a way to make it work for Configuration tables data?
Thanks for your help!
Solved! Go to Solution.
I am not aware of an out of the box way to achieve this.
Probably you could update the table by calling a wrapper service which internally calls SetConfigurationTable only and also updates a boolean property.
I am not aware of an out of the box way to achieve this.
Probably you could update the table by calling a wrapper service which internally calls SetConfigurationTable only and also updates a boolean property.
Thanks @rjanardan for you answer. That is what I was afraid to hear since this solution doesn't protect from situations where the configuration table is edited by the generic services. It may still be the best possible way to do things.