Cache Flow Data
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Cache Flow Data

  • Dark
    Light

Article Summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.12.1
Root FolderExample Lab - Cache Flow Data
Modules None
DependenciesNone

This Example lab demonstrates how to cache the results of a Sub Flow.


Explanation

This main Flow uses the Cache function to return a randomly selected list of names and a default name. Select the "Get List of Random Names and Select Default Name" Sub Flow and scroll down to the "Outcomes" section to see the cache options. In this use case, Caching happens on a per-user basis, and will only be refreshed every five minutes. Open the debugger and run this main Flow multiple times in a row to see the same names every time, even though the Sub Flow actually generates random names every time it is run.

Reference Articles



Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.12.1 or later using our Importing/Exporting article.





Was this article helpful?