Data Store Activity

Modified on Tue, 30 Jan, 2024 at 6:02 PM

The "Data Store Activity" empowers you to both store and retrieve data required for use in other workflow executions or different workflows. This activity operates by storing data in the form of key-value pairs, accommodating various data types, from strings to objects. When you need to access the stored data, you simply use the associated key.


Here is an example illustrating how to set and retrieve a value using the Data Store activity:


To Set a Value

  1. Add a new Data Store activity.


  2. Ensure that the Set option is selected in the properties.
  3. Enter both a Key and a Value. For instance, you can enter "id" as the Key and "123456" as the Value.
  4. Click Save.


To Retrieve the Value

  1. Add a new Data Store activity.


  2. Ensure that the Get option is selected in the properties.
  3. Enter the corresponding key, in this example, "id."
  4. Click Save.

Scope

The Data Store activity offers two scope options:

  • Global: The stored value is accessible in every workflow, making it available for use across different workflow executions.
  • Current Workflow: The stored value is only accessible within the workflow where it was initially created, making it locally scoped to that specific workflow.










Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article