Cache a result: publishing a workflow's list, caching it daily, filling it now and using it in a form dropdown (1:28).

Example: ticket categories for a form
Publish the list from a workflow
{ "id": …, "name": … } items from your PSA, ending at a Finish Workflow step. On that step’s Settings tab, enter a variable name, tick Publish Variable and save (see Save an output under a short name).
Create the cache definition

{}.Fill it now

Check the value


Use it in a form
id and name; change them if your items use other fields.

Read it in a workflow
Add Get Cache Data from Cache, choose the cache definition and leave Tenant ID empty for a global cache. The stored value is invalue: {{ ctx.steps['Get Categories'].value }}.


How it refreshes
- The frequency counts from when you created the definition: a Daily cache created at 09:10 UTC refreshes at about 09:10 UTC each day.
- A stored value stays until a run replaces it; if a run fails, forms and workflows keep the last good value and Execution Logs shows why.
- Each run has 5 minutes, and a value can be up to 10 MB.
- Invalidate Cache deletes the stored values; Edit changes the definition or disables it, and changing its workflow, published variable or scope also clears the values.
Per-client caches
With Scope set to Per Tenant, Triggr stores a value per client, or for the clients you pick. Each run gets the client’s ID inctx.metadata.tenantId, so start the workflow with a Set Client From Form step to load that client’s variables and integrations. A form reads the signed-in person’s client’s value; in Get Cache Data, set Tenant ID to {{ ctx.client.id }}.
Troubleshooting
“published variable '…' not found in workflow result” or “no published variables found in workflow result”
“published variable '…' not found in workflow result” or “no published variables found in workflow result”
“workflow execution timed out after 5 minutes”
“workflow execution timed out after 5 minutes”
The form's dropdown is empty
The form's dropdown is empty
“tenantID is required for per-tenant cache definitions”
“tenantID is required for per-tenant cache definitions”
{{ ctx.client.id }}.“cache definition is disabled”
“cache definition is disabled”
Can an internal app or an AI assistant read a cache?
Can an internal app or an AI assistant read a cache?
get_cache_entries and run_cache.
