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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How to set property of implementing thing based on event.

ptc-1849353
6-Contributor

How to set property of implementing thing based on event.

h3. Hi All,

I have two different things (A and B). I want to subscribe a event of thing A (Thing Template) and based on that event i want to set property of Thing B.<br><br>

I have created two subscription in B thing template for testing<br>1. On data change event of a property defined in thing A <br>2. On a custom event. <br><br>

To test it i have created a mash up where i am manually setting the property of Thing A. In turn it should change the value of property in Thing B.<br>But it is not working. <br><br>

Kindly help me out. if i am missing something.<br>Thanks in advance!!!<br><br>

Regards,<br>Muzahid<br>  

<br>

 



2 REPLIES 2
paic
12-Amethyst
(To:ptc-1849353)

Hi Muzahid, what does your subscription script look like?

Also you can add a logger statement to your subscription to make sure that it is actually firing.

Hi Pai,

Thanks for the response. Now it is working and logger is good way to debug.


Regards,

Muzahid



Announcements


Top Tags