Skip to content

Retrieve Data#

image55

The Retrieve Data task in junction with the Store Data task are an easy way to pass values in a common cache between all the workflow pages. A value stored can be retrieved using a unique identifier, matching the one specified in the Store Data task.

image57

Inputs#

Name Data Type IsTrigger Description
Activate any Yes Retrieve all values

Outputs#

Name Data Type Description
<custom list> <custom> Retrieved cached value
Success Boolean true value emitted when the values are retrieved
Error Error Error that occurred during the processing of this task

Settings#

In the General tab*, you have the usual settings and the following setting:

Name Data Type Default Description
Trigger on Store Boolean false When true, the task will emit the values when they are changed
Emit in new context Boolean false When true, the emitted value will be wrapped around a new execution context

image58

In the Outputs tab, you have the usual settings and the following setting:

Name Data Type Default Description
Name String "Not specified" Output value Name
Identifier String Identifier that will match with the store data
Type Long
Decimal
DateTime
Boolean
String
Integer
The Output value type
Collection Type None
Array
Map
Default Value any The Output value, default value.

image59

Behavior#

It matches the identifier to the cached values by the Stored Data task, if any is found it will retain that value, otherwise it will emit the default value. It can be triggered either by a change in the cached value or by an input on the Activate input.

Remarks#

Combining Store + Retrieve (with Trigger OnStore) can be used to transfer data between different workflows. This is known as a wormhole.

This task uses a specific structure of context-based data called zone. More information on this topic can be read in the Zones page.