Skip to main content

Cache

Cache List of Objects in Memory

Caches the list (array) of objects in memory for faster access. It runs when all the input link points are active. If successful, it triggers the output objectList; otherwise triggers errors.

Multi input✔️
Multi output

Input link points

NameTypeDescription
objectListlistInput objects of the node that will be cached in memory

Output link points

NameTypeDescription
objectListlistThe list of cached objects, same objects as the input
errorslistErrors occurred during node execution

Parameters

NameTypeDescription
Cache keyrequiredThe unique key that will be used to cache the object. The cache key can be a maximum of 250 characters long. If the key already holds a value, it is overwritten.
Timeout on cached valuerequiredTimeout duration for cache expiry. After the timeout, the cached object list will automatically be removed from the cache.
Apply rulesoptionalEnable/disabled execution of object level security rules that define the conditions to allow or restrict certain operations (create, read, upddate, delete) on your app database, storage and cache.
Error managementoptionalError handler type of processing errors raised by this node, either automatically or manually.

Cache Object in Memory

Caches the object in memory for faster access. It runs when all the input link points are active. If successful, it triggers the output object; otherwise triggers errors.

Multi input✔️
Multi output
NameTypeDescription
objectobjectInput object of the node that will be cached in memory
NameTypeDescription
objectobjectThe cached object, same object as the input
errorslistErrors occurred during node execution

Parameters

NameTypeDescription
Cache keyrequiredThe unique key that will be used to cache the object. Cache key can be maximum 250 characters long. If the key already holds a value, it is overwritten.
Timeout on cached valuerequiredAfter the timeout, the cached object will automatically be removed from the cache.
Apply rulesoptionalEnable/disabled execution of object level security rules that define the conditions to allow or restrict certain operations (create, read, upddate, delete) on your app database, storage and cache.
Error managementrequiredError handler type of processing errors raised by this node, either automatically or manually.

Delete Cached Objects

Deletes the object(s) associated with the specified cache key from the memory. It runs when the input link point is active.

Multi input
Multi output
NameTypeDescription
inputobjectInput object of the node mainly used to specify the cache key value
NameTypeDescription
triggertriggerOutput trigger of the node
errorslistErrors occurred during node execution

Parameters

NameTypeDescription
Cache keyrequiredThe unique key that will be used to fetch the object from the cache
Apply rulesoptionalEnable/disabled execution of object level security rules that define the conditions to allow or restrict certain operations (create, read, upddate, delete) on your app database, storage and cache.
Error managementrequiredError handler type of processing errors raised by this node, either automatically or manually.

Get Cached Object

Retrieves the cached object from memory. It runs when the input link point is active. If successful, triggers the found otherwise triggers notFound.

Multi input
Multi output
NameTypeDescription
inputobjectInput object of the node mainly used to specify the cache key value
NameTypeDescription
foundobjectObject retrieved from the cache
notFoundobjectObject not found trigger, returns the input object
errorslistErrors occurred during node execution

Parameters

NameTypeDescription
Cache keyrequiredThe unique key that will be used to fetch the object from the cache
Retrieved object modelrequiredThe model of the object that will be retrieved from the cache
Lookup fieldsrequiredThe referenced object fields of the cached object if there are any
Apply rulesoptionalEnable/disabled execution of object level security rules that define the conditions to allow or restrict certain operations (create, read, upddate, delete) on your app database, storage and cache.
Error managementrequiredError handler type of processing errors raised by this node, either automatically or manually.

Get List of Cached Objects

Retrieves the cached list of objects from memory. It runs when the input link point is active. If successful, triggers the found otherwise triggers notFound.

Multi input
Multi output
NameTypeDescription
inputobjectInput object of the node mainly used to specify the cache key value
NameTypeDescription
foundlistList of objects retrieved from the cache
notFoundobjectObject not found trigger, returns the input object
errorslistErrors occurred during node execution

Parameters

NameTypeDescription
Cache keyrequiredThe unique key that will be used to fetch the object from the cache
Retrieved object modelrequiredThe model of the objects that will be retrieved from the cache
Lookup fieldsrequiredThe referenced object fields of the cached objects if there are any
Apply rulesoptionalEnable/disabled execution of object level security rules that define the conditions to allow or restrict certain operations (create, read, upddate, delete) on your app database, storage and cache.
Error managementrequiredError handler type of processing errors raised by this node, either automatically or manually.