Cache maintenance
Introduction
You can view, create, and manage all existing caches from the data caches
page. To access this page, select process flows
➤ caches
from the dashboard navigation menu:

Need to know
During routine platform maintenance, cached data may be cleared. While we make a best effort to retain data for up to 7 days, it could be cleared sooner. Please design your process flows accordingly.
The data caches page
The data caches
page is split into three sections: flow run caches
, flow caches
, and company caches
:

Each cache is listed with the following details:
Name
The name that was specified when the cache was created. Caches are created via the add to cache shape.
Flow
For flow
and flow run
caches, this is the name of the process flow which is using the cache. This information is not shown for company
caches, as the cache might be used in any process flow within a company profile.
Created
The date and time that the cache was created.
Last accessed
The date and time that the cache was last accessed by a process flow. The cache may or may not have been updated with data at this time (even if there is no data to be added, the access date/time is logged).
Keys
The number of cache keys associated with this cache. Cache keys are created via the add to cache shape.
Size
The current size of the cache in proportion to the limit.
Delete the cache (and all associated data).
If you have a lot of caches, you can search by name:

To access cache details for a particular cache, click on its name:

Cache details
When you select a cache from the list, an edit cache page is displayed:

From here you can:
Viewing & changing the cache name
To change the name of the cache, simply update the name
field in the upper cache detail
s panel, then click the save
button.
When the name is updated and saved, the change is immediately reflected in any add to cache shapes in process flows, where this cache is used.
The cache name must not include full stop (.) or colon (:) characters.
Viewing & changing the maximum age (retention period)
You can use the maximum age
slider to change the cache retention period for a cache:

Note that:
The maximum age for a
flow run
cache is 2 hours - this cannot be changedThe maximum age for a
flow
orcompany
cache can be changed to anything up to 7 days
Viewing usage information
The usage panel shows general usage information about the cache:

Here you can see:
Size
The current size of the cache, shown with a percentage use indicator. The maximum cache size is 50MB
Created
The date and time that the cache was created.
Last accessed
The date and time that the cache was last accessed. This timestamp is updated even when no data was added to the cache.
Keys
The number of keys associated with this cache.
Viewing cache contents
The cache contents
panel displays an entry for each cache key update. Information shown varies, depending on the cache type.
Flow run cache

The following details are displayed for each cache item in a flow run
type cache:
Flow Run ID
The unique id of the process flow run that updated the cache key.
Started at
The date and time that the process flow run was started.
Key
The cache key name.
Page
If multiple pages are added to a cache (for example, if incoming data is paginated or batched via flow control shape) and the add to cache save all pages option is togged ON), each page is listed individually.
Unique key
The internal cache key.
Click the 'eye' icon to view the content associated with this key. For example:
Size
The size of the cache key.
Flow cache / company cache

The following details are displayed for each cache item:
Key
The cache key name.
Page
If multiple pages are added to a cache (for example, if incoming data is paginated or batched via flow control shape) and the add to cache save all pages option is , each page is listed individually.
Unique key
The internal cache key.
Click the 'eye' icon to view the content associated with this key. For example:
Size
The size of the cache key.
Clearing the cache
To clear all current content in the cache, click the clear cacche
button:

This removes any existing data but leaves the cache in place so it can still be used in process flows.
Creating a cache
Cache creation is an integral part of configuring an add to cache shape within your process flow - for example:

However, it can sometimes be useful to create caches via the data caches
page. To do this, follow the steps below.
Choose to create a new cache
Click the create cache
button associated with the type of cache you want to create - flow
, flow run
, or company
. For example:

Enter cache details
If you choose to create a flow
or flow run
cache, the following details are required:

Required fields are summarised below:
Name
Enter a name for the cache (this name is displayed wherever the cache is used in the dashboard).
Flows
Select a process flow to be associated with this cache.
All process flows are available for selection, irrespective of whether they include an add to cache shape. Selecting a flow here does NOT add/configure add to cache
shapes in selected process flows, it simply makes an association.
When you go on to add or update an add to cache
shape in the associated process flow, this cache will be available for selection (it won't be available in any other process flows).
Data retention
Select the required duration that cached data should be kept. For more information on this setting, please see our Add to cache shape page.
If you choose to create a company
cache, the following details are required:

This is the same information detailed for flow
and flow run
caches above, except there's no requirement to select an associated flow. company
caches are available for selection in any process flow.
Confirm settings
Click the save
button to save settings and create the cache.
Last updated