Clearing Workflow storage

Is there a way to clear all key/values in a workflow storage from within a workflow?
I know I can manually use the “clear all entries” button, but wasn’t sure if there was another way.

Hey Lars,

There are a few options for you currently.

  1. You can use the Storage: Get Node with the Get All option, and then use the Loop Node to loop through them, using the Storage: Set Node with the Clear Value operation selected
  2. Use the Losant API Node to clear all storage entries with the Flow: Clear Storage Entries operation.

I am, though, creating a Feature Request to add a Clear All Entries operation to the Storage: Set Node. I’ll be sure to follow up with you as I learn more about it!

Thank you,
Heath

Even more needed in an Edge workflow , since I can not see what’s stored .