The current way to fully empty a storage is to do a Node and parse trough all of the items and use “Delete an entity from a Storage”.
The API has the ability to Empty it, can we get a prototype like “Empty/Truncate Storage” ?
Although, we don’t want to call the API since im already in Alumio, thats best to external usage.
Hi @r.candrian
We indeed know about that functionality.
One specific case:
There is logic on the “Input transformer” side of the Incomig, on every run we need to empty the whole storage, currently its possible, but not efficient. Instead of going over all the entities and delete each one individually, we could just call a prototype to empty that storage.
It would be best to be dynamic and not rely on the above explained reason, nor emptying it manually.
Indeed, we don’t have any transformer to clear all the storage entities within a storage yet. We will pass your feedback on to the corresponding team for further discussion.
In the meantime, if this issue is blocking your integration, we suggest calling the emptyStorage API.