Community Tip - You can change your system assigned username to something more personal in your community settings. X
1) Below error is coming upon deletion:-
Fail - Unable to delete thing: [ValueStream_TestTSThing-GW] Unable to dispose thing: [ValueStream_TestTSThing-GW] null
2) Also provide snippet to delete Valuestream or any thing from Composer
Hello ranjank,
I have not seen this specific error with the root cause being a "null". This would seem to imply that the entity does not actually exist and that we may dealing with a Ghost Entity here. If possible I would recommend restarting ThingWorx to see if the Value Stream is no longer present. Should this be the case I would recommend having a look at CS198580 which explains the concept of Ghost Entities in more detail.
1. Check whether appropriate visibility permissions are present
2. You could use the DeleteThing snippet to delete a ValueStream
var params = {
name: "MyVS" /* THINGNAME */
};
// no return
Resources["EntityServices"].DeleteThing(params);