Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Dears:
I wanna delete a value stream which is not enabled, but error occurs as below.
what should I do to delete this value stream?
Thanks!
Hi @LeoChen,
Can you enable the Thing and try to delete it:
Even if it shows the same issue, try to Clear the Cache in tomact and restart the Thingworx.
Thanks,
Hello:
I enable this thing, but error reoccured. Is there another way to delete this thing? this is thingworx pro, restarting is hassle.
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
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.
Is this valuestream maybe still referenced by another thing? you could check in "View relationships -> Uses this entity":
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
thanks for you reply.
this value stream does not referenced by other thing.