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

Subscription for remote thing property quality changed

SOLVED
Highlighted
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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Subscription for remote thing property quality changed

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
Highlighted

Re: Subscription for remote thing property quality changed

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

 

Highlighted

Re: Subscription for remote thing property quality changed

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

Highlighted

Re: Subscription for remote thing property quality changed

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

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!