Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! 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