Skip to main content
8-Gravel
December 13, 2024
Question

Cannot delete thing

  • December 13, 2024
  • 3 replies
  • 1827 views

Dears:

    I wanna delete a value stream which is not enabled, but error occurs as below.

20241213-095424.jpg    what should I do to delete this value stream?

    Thanks!

3 replies

18-Opal
December 14, 2024

Hi @LeoChen,

 

Can you enable the Thing and try to delete it:

pshashipreetham_0-1734178048152.png

 

Even if it shows the same issue, try to Clear the Cache in tomact and restart the Thingworx.

 

Thanks,

 

LeoChen8-GravelAuthor
8-Gravel
December 16, 2024

Hello:

     I enable this thing, but error reoccured. Is there another way to delete this thing? this is thingworx pro, restarting is hassle.

18-Opal
December 16, 2024
I’d suggest you open a support case.
13-Aquamarine
December 16, 2024

Hello @LeoChen ,

 

You may try below alternatives:

1.  Try restarting your thing using generic services and then delete, make sure you have right permissions.

2. Write a custom service to delete it.

2. Check thing is not is being used elsewhere.

3.  May be  - Try checking ghost entities and if any delete it.

Solved: Ghost Entities - PTC Community

 

LeoChen8-GravelAuthor
8-Gravel
December 17, 2024

thanks for your reply,

I tried some ways to delete this thing including restarting thing, customing service and detecting ghost, etc. But this value stream is still not delete.

16-Pearl
December 17, 2024

Is this valuestream maybe still referenced by another thing? you could check in "View relationships -> Uses this entity":

nmutter_0-1734456867384.png

 

you cannot delete a valuestream which is still being referenced.

 

Another note I have is that from the name you seem to use InfluxDB as persistence provider. I am not experienced with that. But maybe someone knows some speciality there. Maybe the influx-db is  no longer connected, so the deletion fails? At least with postgres deleting a valuestream will also delete all entries in database while deleting. So persistence provide will need to be available for deletion to succeed. Not sure with Influx

LeoChen8-GravelAuthor
8-Gravel
December 18, 2024

thanks for you reply.

this value stream does not referenced by other thing.

20241218-090626.jpg