A Storage node is used to store, retrieve, or manipulate data in the local or session storage of the browser. The data is stored in key-value pairs, and you can only store a string value.

How to Use

Associated Attributes

  1. Name: A unique name for the node. This name will display on the canvas when you save the node.
  2. Operation Type: The type of operation the node should perform. Select an operation type from the drop-down list. The fields to configure the operation changes depending on the operation type that you select. 
    1. Get ItemThis method allows you to access the data stored in the browser’s local storage object. Fields to configure for this operation type: 
        2. Set Item: This method allows you to store values in the browser's local storage object. Fields to configure for this operation type: 
    • Storage type: Select a storage type from the drop-down list. You can set the item to local storage, session storage or both local and session storage.
    • Key: The element to which you want to store the data. Select string as the key type and enter the key value. Or, select the bh.local or bh.input property from the drop-down list and enter the variable name.  
    • ValueThe data that you want to store.
      3. Remove ItemThis method allows you to remove a value from the browser's local storage object. The field to configure for this operation type: 
    • Storage type: Select a storage type from the drop-down list. You can remove the item from local storage, session storage, or both local and session storage. 
    • Key: The element which contains the data to be removed. Select string as the key type and enter the key value. Or, select the bh.local or bh.input property from the drop-down list and enter the variable name.   
      4. ClearThis method, when invoked clears the entire storage of all records for that domain. 
    • Storage type: Select a storage type from the drop-down list. You can clear the data stored in local storage, session storage, or both local and session storage.