Hello all
Has anyone requested a bulk export and import (or backup and restore) feature for Workflows or Snippets?
I know I can manually export / import Workflows into icon files and I saw there is a workflow to Backup Active Workflows to Github which I’m attempting to modify to use our internal Gitlab. However the backups “as they are” not compatible with the “Workflow icon” files / Import from File.
Given that customers are responsible for backing up their own Workflows and restoring if something goes wrong with a deployment, it would be nice if there was an OOTB solution to that in bulk.
In the meantime, I’ll probably look to building a new workflow for reloading a single (or perhaps multiple) workflows by invoking the Overwrite Workflow API to reload the “rescue backup” version
With the known caveat from the documentation:
Blockquote
Overwrite a workflow using the workflowID. If a workflow has unpublished changes, this will replace that workflow. If a workflow only has an active version, this will create unpublished changes that will need to be published to replace the active version. NOTE: This endpoint requires a User API Key for authentication.
(Same applies to Snippets export/import)
Actually, the Snippet problem is even more complex as there is no current API available to “Overwrite” an existing snippet. ![]()
Thanks
Marco