1. What You Will Learn

After finishing this guide you will understand how to manage Command and Workflow repositories in the BPMN Editor app.

2. What are Commands?

Each Command handles a certain task (e.g. creating a directory). They can be run on their own or be chained together and thereby represent the smallest building block of a Workflow.

The Symbol for Commands is Commands Icon

3. What are Workflows?

Workflows are a sequence of Commands which are run step by step. They form the rules and boundaries under which the Commands operate under.

The Symbol for Workflows is Workflow Icon

4. What is a Repository?

A repository represents a collection of commands or workflows. This repository then can be added to BPMN Editor app, thereby the app will be able to fetch all the commands from the repository and will make them available to use in the editor field. Workflows can be downloaded and uploaded from/to the repository, allowing to share them with colleagues or online.

5. Managing Repositories

The following chapters will teach you how to manage your Repositories.

5.1. Open the Repository Dialog

To open the Repository dialog navigate to Preferences > Repositories as seen below:

PAK Editor Open Repositories 1.6.x
Figure 1. Open the Command Repository Dialog

This dialog is used for managing your repositories.

PAK Editor Repos
Figure 2. Command Repository Dialog

5.2. Add a Repository

Adding a repository works by simply clicking on one of the provided buttons in the upper section of the window. The displaying dialog will take all the information needed in order to add the repository. Once all the information is given the repository can be added by clicking the “Add” button.

PAK Editor Add Maven Repo
Figure 3. Adding a maven based repository
PAK Editor Add OpenAPI Repo
Figure 4. Adding a Open Api based repository

5.3. The Content of a Repository

Repositories can hold Commands or Workflows or both at the same time. To save searching time you can define what content can be found under the added repositories. The content can be changed under the label Repository Content

Editor Content Type
Figure 5. Content Options
Jar and OpenApi repositories can only be Command repositories

5.4. Editing a Repository

Editing a repository works by simply clicking the edit button Edit Icon on one of the repositories.

Editor Edit Repo
Figure 6. Edit Repository Dialog

5.5. Deleting a Repository

A repository can be deleted by clicking the remove button Trash icon on the repository which should be deleted.

Editor Remove Repo
Figure 7. For each Repository is a “Remove” button

5.6. Enable/Disable a Repository

A repository can be enabled/disabled by selecting/deselecting the checkbox in the enabled column. The content of a disabled repository will not be loaded and won’t be available for the application.

Editor Disabled Repo
Figure 8. Disabled “Pet Store” Open API Repository

5.7. Saving Changes

All changes (e.g. toggle enable/disable, add/deletion of a repository), will be made permanently by clicking the “Save changes” button on the bottom-right side of the window.

Editor Save Repos
Figure 9. Dont forget to press the “Save Changes” button