Creating Things but not running
Hello, I am creating things programatically and created. but the issue is am not able to make active, cannot able to set value stream and also cannot able to see. this is my code what I have written.
var paramsTH = {
//name: "F-"+i,
name: values.ConnectionID, // I will give the name based on the value of ConnectionID
thingTemplateName: 'EnergyMeters',
//tags: tags
};
Resources["EntityServices"].CreateThing(paramsTH);
Things[values.ConnectionID].SetValueStream({ name: "Process Value Stream" }); // I need to set this value stream name to my thing automatically when I created
Things[values.ConnectionID].Enable(); or Things[values.ConnectionID].EnableThing(); // I have used both the code but not worked
Things[values.ConnectionID].RestartThing();
logger.warn("Thing created");
after running this code thing is creating but rest of the things cannot be happened and finally I cannot able to see that thing except in GetEntityList service and at Application log

