Skip to main content
Version: v2 ⚡

Data Storage

In the "Data Storage" section of your Project Settings, you can configure what you'd like OpenFn to do with the actual data (Inputs and Outputs) that are processed (or produced) by your workflow runs.

Users may configure OpenFn to temporarily store data (e.g., forms fetched from CommCare mobile app) so that transactions can be easily troubleshooted and rectified in case of errors (e.g., destination DHIS2 system is down, or a database constraint/validation blocks a data import). Data retention periods have a default time period set by the OpenFn super admin, but can be modified according to a specific project's requirements.

Why would I store input/output data along with run logs?

Users may configure OpenFn to temporarily store data (e.g., forms fetched from CommCare mobile app) so that transactions can be easily troubleshooted and rectified in case of errors (e.g., destination DHIS2 system is down, or a database constraint/validation blocks a data import). Data retention periods have a default time period set by the OpenFn super admin, but can be modified according to a specific project's requirements.

One of the most powerful features of the platform is the ability to "replay" Work Orders. In the scenario where you have a multi-step workflow (e.g., get data from Database, transform & map the data, and import to your Health Information System), this temporary data storage allows OpenFn administrators to quickly troubleshoot failed Work Orders and "re-try" the workflow from the failed step, rather than re-running the workflow from the very beginning. This allows administrators to reprocess the failed Work Orders without having to fetch (or re-send) the data (Inputs) from a source system.

Why would I chose to NOT store input/output data?

Some of our users are processing incredibly sensitive data (such as medical records) and might want to ensure that after a workflow is run there is no patient data left on OpenFn servers.

Enabling this "zero-persistence" feature for Input/Output data is an attractive option for folks who want to use OpenFn on the cloud but are worried about data sovereignty.

tip

Check out the docs page on Security & Compliance for more on data storage and solution architectures that rely on OpenFn "zero-persistence" data pipelines.