Skip to main content
1-Visitor
March 30, 2015
Question

How to Enable a Thing ?

  • March 30, 2015
  • 2 replies
  • 3465 views

I have created one extension. From extension one Thing is imported into my composer.

I am unable to change any property of the thing Also unable run any service of the Thing.

I am getting following error :

while updating a property :

Attempt To Write Property <property_name> Failed - Thing Not Running

<br>

while running a service :

context: com.thingworx.webservices.context.HttpExecutionContext@4d1b85ae[message: Thing &lt;Thing-Name&gt; is not running]

2 replies

1-Visitor
April 1, 2015

When you look at the Thing in composer is the Active check box checked?

If it is and it still says not running, try a restart of Tomcat.


However if that solves the issue, then it is likely there is something wrong with your extension or the logic that imports the Thing.


If you are using the CreateThing service, please note you must always use the EnableThing and RestartThing service.



aniketa1-VisitorAuthor
1-Visitor
April 1, 2015

We are generating Thing from metadata.xml file.

<Thing name="Falkonry" description="Falkonry Thing" thingTemplate="FalkonryTemplate" aspect.isSystemObject="false" active="true"isEnabled="true" isRunning="true">    <avatar/>

</Thing>

How to use EnableThing and RestartThing service using XML ?