Skip to main content
8-Gravel
Dec 13, 2024 1:58 AM UTC
Question

Cannot delete thing

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!

8 replies

pshashipreetham
19-Tanzanite
Dec 14, 2024 12:08 PM UTC

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,

 

Translate
Shashi Preetham || +91 8099838801 || shashi@psptechhub.com
LeoChen8-GravelAuthor
8-Gravel
Dec 16, 2024 1:15 AM UTC

Hello:

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

Translate
18-Opal
Dec 16, 2024 6:53 AM UTC
I’d suggest you open a support case.
Translate
13-Aquamarine
Dec 16, 2024 8:59 AM UTC

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

 

Translate
LeoChen8-GravelAuthor
8-Gravel
Dec 17, 2024 2:17 AM UTC

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.

Translate
17-Peridot
Dec 17, 2024 5:36 PM UTC

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

Translate
LeoChen8-GravelAuthor
8-Gravel
Dec 18, 2024 1:08 AM UTC

thanks for you reply.

this value stream does not referenced by other thing.

20241218-090626.jpg

 

Translate