Put In Cache Using Generated Key
  • 19 Mar 2025
  • 1 Minute to read
  • Dark
    Light

Put In Cache Using Generated Key

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version9.6.0
LocationSystem > Caching

Use the Put In Cache using Generated Key step to place some value in memory for a defined time while letting Decisions create a Key to reference the cache. Cache Instance Name can be any name you want to associate with this cache. Cache Type Name can be the default Decisions cache or a custom cache found under System > Administration > Cache. The Key will be the key by which this cache will be accessible. Value is the data that will be stored.

In later versions of Decisions the Cache Name and Definition are set at the Project level.


Properties (v9.6+)

Cache

PropertyDescriptionData Type
Cache NameProject level cache instances.---
Selected Cache DefinitionDisplays the definition of the chosen cache instance.---
Item TypeData type of the items to be added to the list.---
Select Cache at RuntimeRuntime selecting a cache is an advanced action and may create problems if the cache selected is not valid. Instead of this feature, we recommend using multiple cache steps with paths to each so that the configuration of your process is very clear.Boolean

Cache Setup

PropertyDescriptionData Type
Key TypeSelect a GUID or a 3-8 digit number for the Key to reference the cache.---

Inputs

PropertyDescriptionData Type
ValueThe data that will be stored.String

Outputs

PropertyDescriptionData Type
KeyThe key that was created by this step to access the cache. String

Properties (prior to v9.6)

Cache Setup

PropertyDescriptionData Type
Type NameSelect the Data type of the value being added to the cache. ---
Key TypeSelect a GUID or a 3-8 digit number for the Key to reference the cache.---

Settings

PropertyDescriptionData Type
Get Cache Type at RuntimeSet whether the Cache Type Name can be selected at Runtime or Design Time. Boolean
Cache TypePick the cache type. This is established in System > Administration > Cache.---

Inputs

PropertyDescriptionData Type
Cache Instance NameDefine the name that will be associated with this cache.String
Cache Type NameDefine the cache type. This is established in System > Administration > Cache.String
ValueThe data that will be stored.String

Outputs

PropertyDescriptionData Type
KeyThe key that was created by this step to access the cache. String


Step Changes

DescriptionVersionRelease DateDeveloper Task
Properties have changes across all Cache Steps.9.6January 2025[DT-042388]
Related Information

Articles:
Caching Overview
Cache Definitions

Example Labs:
Cache Flow Data


Was this article helpful?