Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Export History #564

Merged
merged 2 commits into from
Sep 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions docs/manage-projects/io-data-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,54 @@ storage and solution architectures that rely on OpenFn "zero-persistence" data
pipelines.

:::

### Export History

Users can also export all work orders and their associated artefacts (runs,
steps, runsteps, input and output data clips) in a project. Work order
history export is managed at a project level and available to all collaborators (viewer,
editor, admin, owner) in a project.

#### How to export work order history

To export Work Order history for your project, open the project and click on
`History` on the side menu. On the History page, scroll to the bottom of the
work order history table and click on the cloud icon (see image below).

![History Page](/img/history_page_cloud.png)

Clicking on the download icon will prompt a confirmation modal for the export.
If confirmed, a background process will be initiated for the export.

![Confirm export](/img/confirm_export.png)

When the export is complete, an email will be sent to your OpenFn user's associated
email address.

:::info FOR LOCAL DEPLOYMENTS

For local deployments, OpenFn uses Swoosh as a mailbox service for development
purposes and can access the mailbox via http://localhost:4000/dev/mailbox. You
can substitute localhost:4000 to match the port hsoting your OpenFn instance.

:::

#### Managing Exports

Users can view all history exports via the `History Exports`
page in the project settings. Click on `Settings` on the side menu and click on
`History Exports` to see the list of work order exports in your project.

On the `History Export`s page, you will see the list of exports showing your
latest request and previous requests with the other information such as
filename, date of export, user who requested the export and the status.

![List of history exports ](/img/history_exports_page.png)

:::caution Configuring storage for exports

OpenFn instance administrators can configure the storage for work order exports for
local deployments. OpenFn currently supports local storage and Google Cloud
Storage as destinations for exporting work orders.

:::
Binary file added static/img/confirm_export.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/history_exports_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/history_page_cloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.