1. What You Will Learn

In this tutorial you will learn how to download and execute Workflows using the PAK Workflow Executor.

2. Prerequisites

To complete this guide you will need

  • Roughly 10 minutes

  • The PAK Workflow Executor ( Download )

  • At least one uploaded Workflow as described here

3. Defining the Repository

In order to let the Workflow Executor look for uploaded Workflows, you need to add a new Workflow repository.

workflow repo
Figure 1. Adding a new Workflow repository

To make your repository eligible for Workflow resolving, select either Workflows or Commands and Workflows as the repository type.

4. Looking for Remote Workflows

As soon as your repository changes are saved, the Workflow Executor begins looking for all valid Workflows in the Workflow repositories. In order to view all Workflows in your enabled repositories, click on ‘Open new Workflow’ and select the third tab like shown below.

view workflows
Figure 2. Viewing all Workflows present in remote repositories

5. Executing a Remote Workflow

To execute a Workflow, select it from the Workflow tree in the resulting view.

select workflow
Figure 3. Selecting a Remote Workflow
1 General information like the selected version, name and repository source of the Workflow is displayed here
2 When predefined datastores are available for your Workflow, their names will be listed here
3 All available versions for your Workflow will be displayed, and can be opened, from here

Remote Workflows can either be opened by double-clicking them in the tree (this will always open the newest version) or by double-clicking/clicking the download button in the version overview. This leads to the Workflow Executor downloading your Workflow into the .modelcache directory in the installation folder of your application and opening it once finished.

opened workflow
Figure 4. The opened Remote Workflow

After the Workflow is downloaded, you can simply resume by running it as described in this guide.