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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Set isConnected Property Within ThingWorx

Ascherer17
15-Moonstone

Set isConnected Property Within ThingWorx

Is there any possible way to update the "isConnected" Property (in the "Connectable" Thing Shape) from within ThingWorx? 

 

This property/TS is part of the "RemoteThing" Template and is great for visualizing if a Thing is connected, like in Composer -> Monitoring -> Remote Things.  I'd like to extend this capability to API connections we make in ThingWorx that do not have a native ThingWorx connection or remote agent.  Essentially I have defined a "connector" Thing in ThingWorx that makes REST calls on an API via scheduler/timer; I want to utilize the "isConnected" property as an indicator of whether the API connection is "healthy."  If an API call is successful, "isConnected" would be set to 'true'; if an API call fails or has a particular error code, "isConnected" would be set to 'false.'  

 

Is it possible to define this logic within ThingWorx, or must it be done via SDK, or some other method?

0 REPLIES 0
Announcements


Top Tags