The Clear Storage Component deletes all stored data from a specified storage location, ensuring that previous records are erased.
This component is used to clear a selected storage space, removing all stored entries associated with the given storage ID.
in
Receives the storage ID specifying which storage to clear.
cleared
Emits the ID of the cleared storage and the count of deleted entries.
storeId
string
The ID of the storage space to be cleared.
Receives Storage ID: Accepts the storeId
specifying which storage to clear.
Clears Storage: Deletes all stored records associated with the storeId
.
Returns Confirmation: Outputs the storeId
and the count of deleted records.
Permanent Deletion: Once cleared, data cannot be recovered.
Efficient Storage Management: Helps maintain clean and optimized storage.
Workflow Control: Useful for resetting storage before running new test cycles or workflows.
This component is essential for workflows that require periodic clearing of stored data to maintain accuracy and efficiency.