Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. 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.
Hi @LeoChen
Are you still having an issue with the ability to delete the valuestream? If so, I recommend we open a case so that one of our engineers can review via a screenshare. If you agree that a case is needed, I will be happy to open it on your behalf.
If you have since solved the issue, we encourage you to post your solution to this thread for the benefit of others in the community.
Regards.
--Sharon
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.