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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Subscription for remote thing property quality changed

terzabalazs
4-Participant

Subscription for remote thing property quality changed

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

ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

3 REPLIES 3

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. 

rjanardan_0-1597406518944.png

 

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.

slangley
23-Emerald II
(To:terzabalazs)

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

Announcements


Top Tags