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
I would like to create a subscription for a remote thing. I would like to trigger this subscription when the property source quality (good, bad ) was changed. Could you please suggest a solution for resolving this issue?
Thanks,
Terza
Solved! Go to Solution.
A quick add to the reply before, which points to the correct direction.
You need to create a generic subscription to the DataChange event, and check inside if the old quality changed vs the new quality with a simple "if" , and based on the result, execute your code.
Hope it makes it clear.
Create a subscription with DataChange event and under Event Data you have the new data and old data quality available as variables that could be added in the subscription code.
A quick add to the reply before, which points to the correct direction.
You need to create a generic subscription to the DataChange event, and check inside if the old quality changed vs the new quality with a simple "if" , and based on the result, execute your code.
Hope it makes it clear.
Hi @terzabalazs.
If one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.
Thank you for your participation in our community!
Regards.
--Sharon