Export Workflow

Export an existing Workflow from your Catalytic team, optionally secured with a password. This method produces a File that can be downloaded and used to import the Workflow into another team.

πŸ‘

Permissions Required

You must have Find permissions to the Workflow in order to for this request to succeed.

Method Signature

WorkflowExport export(String id);
WorkflowExport export(String id, String password);

Parameters

ParameterTypeDescription
idStringThe string Id of the Workflow to export
passwordStringOptional Password used to secure the exported file
returnsFileThe exported Workflow file

Example

/*
 * This example demonstrates exporting a Workflow from a Catalytic
 * team and downloading the export file.
 */

import org.catalytic.sdk.CatalyticClient;
import org.catalytic.sdk.entities.File;

public class Program {
  
    public static void main(String[] args) throws Exception {
      
        // Create and initialize the Catalytic SDK Client
        CatalyticClient catalytic = new CatalyticClient();

        // Export the workflow with id ac14952a-a331-457c-ac7d-9a284258b65a
        File file = catalytic.workflows().export("ac14952a-a331-457c-ac7d-9a284258b65a");
    }
}