Export a 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
export(string $id): File
Parameters
Parameter | Type | Description |
---|---|---|
$id | string | The string Id of the Workflow to export |
$password | string | Optional Password used to secure the exported file |
returns | File | The exported Workflow file |
Example
<?php
/*
* This example demonstrates exporting a Workflow from a Catalytic
* team and downloading the export file.
*/
require_once(__DIR__ . '/vendor/autoload.php');
use Catalytic\SDK\CatalyticClient;
$catalytic = new CatalyticClient();
$file = $catalytic->workflows()->export("c9f2beec-10c0-4f2f-b4e0-1d884c7e053c");
Updated almost 3 years ago