How to Up-/Download Workflows using the PAK Editor
In this guide you will learn how to upload and download Workflows using the PAK Editor.
To complete this guide you will need
Roughly 15 minutes
The PAK Editor ( Download )
In order to upload/download Workflows with the Editor, you need to add a new Workflow repository.
The repository content defines what kind of content can be fetched from those repositories. This can either be Commands, Workflows or both.
To make your repository eligible for Workflow resolving, select either Workflows or Commands & Workflows as the repository content, telling the application that those contain Workflows.
As soon as your repository changes are saved, the Editor begins looking for all valid Workflows in the Workflow repositories. In order to view all Workflows in your enabled repositories, click on ‚Open Workflow‘ and select the second tab like shown below.
To upload a Workflow you first need to create one. Here, we use the Workflow as it was described by the How to Build your First Workflow guide.
After saving the Workflow locally, you are able to upload it to a remote repository. To do this, navigate under
Upload Workflow .
|A Workflow must be saved locally before being eligible for uploading.
Whenever a Workflow is uploaded for the first time to a remote repository you will be prompted by the dialog below. Fill it out and press the
Upload Button to upload your Workflow.
|You can decide to which repository you want to upload the Workflow to. By default the first one found in the repository list is chosen.
|You can rename the Workflow before you upload it. Renaming also leads to renaming of the local Workflow file!
|Each uploaded Workflow must be part of a group. The groups are used to sort and filter the Workflows in the current available Workflow view.
|To be able to track changes every Workflow will get a version assigned. Every new Workflow starts at 1.0.0 by default.
|A Version Tag will hinder any future uploads to overwrite the version which was tagged. E.g. when 1.0.0 was has a Version Tag then it cannot be overwritten by an upload anymore.
|After everything is filled out you can press
Whenever you have successfully uploaded a Workflow or when you try to upload one which already exists on the remote repository, the below dialog will open instead.
The dialogs values are preset with the values from the Workflow and cannot be changed anymore. When you did changes locally you can now either overwrite the current remote version or upload a new version.
|When you uploaded a Workflow successfully a moment before this green box will show you its success. It is orange when something has gone wrong during uploading.
|You can still change the repository. Maybe this Workflow already exists on this one but you want to upload it to another? The repository will be automatically chosen to that one which was used to upload the Workflow before.
|Name, Group and Version are not editable anymore.
|To increase the version when uploading press the
Create new Version button, then the Creating new Version dialog will be opening.
|To just overwrite the current uploaded version of the Workflow, just press
Overwrite and upload it again.
|When the remote version you want to update is flagged with the Version Tag, then you cannot overwrite it anymore and you must increase the version instead.
When a new version shall be created a new dialog opens which allows the editing of the version again. The increment of the version is automatically raised by one. Pressing the
Upload new Version button will upload the current Workflow with the new version.
After you have uploaded your Workflows you can share them through the repository and download them to your local system. Either to look what they entail, or to apply changes.
To see where to find the available Workflows read through this part of the guide again.
The Workflows are shown in a tree like structure. Each node of the tree is a part of the group defined when uploading the command.
When selecting a Workflow you have some options how you want to download it.
|You can search for a Workflow. Either by its name or by its group.
|The elements with the Workflow symbol to its left side are the available Workflows. Double clicking the name will open a preview of the newest Workflow version in the editor.
|Refresh the list of Workflows if you want to see newest Workflow versions on the repository. Always do this before opening a Workflow as someone might have uploaded a new version.
|When selecting a Workflow a new small window opens, telling you properties and available versions of the Workflow.
|Pressing the download button or double clicking an explicit version, downloads the chosen Workflow to your local machine. You will be asked whereto save the new Workflow.
|When choosing a version without downloading it, then you can open a preview of that Workflow by pressing the
Now you are able to upload and download Workflows, sharing them and updating them in the future. You may be interested to run the uploaded Workflows from a remote repository. This guide will show you how to do this in the PAK Workflow Executor.