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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Firing custom events from another entity

WB_9962145
6-Contributor

Firing custom events from another entity

Hello,

 

I'm trying to figure out how to work with custom events.

Say i have a Thing A in which i have a proprety with the data change option set to always and a custon event that has a data change Data Shape. Then a Thing B that listens to the custom data change event to increment a certain proprety.

 

I'm not really sure on how to implement the subscription script or how to use the :

 

me.DataChange({
                            newValue: undefined /* INFOTABLE */,
                            oldValue: undefined /* INFOTABLE */
});

 

If anyone could give me a hand i will be mad grateful.

 

Thank you in advance

 

1 REPLY 1

Hi @WB_9962145 ,

your question sounds for me as it should be addressed to the IOT ThingWorx Dev community  (https://community.ptc.com/t5/ThingWorx-Developers/bd-p/twxdevs ). For me, it seem that the quesiton is not directly related to Studio- some setting which should be done in the Thingworx UI?

Or  is this a question how to achive this in Studio when the customer event is already configured in Studio?

Thanks 

Announcements

Top Tags