Cache variables
Cache variables provide a means of processing information throughout a flow instance without requiring that the information to be passed through data links.
Cache variables are name value pairs that exist after the flow instance completes execution. Cache variables persist in the cache until they are deleted from the cache. Cache variables are case-sensitive and associate a value in text format. Cache variables are not flow instance specific unlike flow variables. Cache variables are accessible to all flow instances that are running simultaneously with the current flow instance.
- External Cache
External cache store, Redis, is used to store the cache variables.
- Internal Cache
Cache variables are stored and handled with in the process memory.
A process that executes a flow or map manages either external or internal cache variables, not both at the same time, based on the configuration specified before starting such a process.