Skip to main content

App Editor

The App Editor is used to create a bundle of process and case models together that can be deployed and shared with users to run. Processes, cases, forms and decision tables do not need to be packaged in an app to be deployed, as it is possible to deploy them individually directly. An app provides convenient packaging with additional services automatically managed for you.

User Interface

The App Editor allows the definition of an application bundle of processes, cases and other related models. An app, once defined, can be published (deployed) to the runtime engines and started by users.

610 design app editor

A list of the existing apps is displayed, ordered by date or name, with the ability to:

Clicking the + Create button opens a dialog that allows you to choose to create a new app or import an existing app definition.

Creating New Apps

The first active menu is the Create new app. It displays a form to enter your app's basic information:

610 app new

  • The display name of the app

  • The app’s unique key

  • The app’s palette type

  • An optional description of the app

  • An optional tag for the app

By clicking Create, a new app definition is created and you are redirected to the details view of the app where you can make further configurations. See App Editor for more information.

Importing Apps

Choosing the Import an app from a file option opens a dialog that prompts you to select a file to import.

610 app import

There are advanced options that define how the import, which can be selected if needed to perform extra steps in the import.

610 app import advanced

The options available are:

OptionComment
Warn and StopIf identical model keys are found, warn the user and stop.
Update existingIf identical model keys are found, continue and treat as updates.
Create new keysIf identical model keys are found, continue and create as new models.

App Editor

In the header area, you can see the Workspaces, current Workspace, App Name. The starting overview of an app shows the Main Models. These are models that are not referenced by any other model in the app. It is always possible to return to this app view by clicking the app name in the top navigation menu.

App Properties

610 app details

name, key, description, Tags, Palette of the app model are included in the app Details, together with the Model Hierarchy
610 app properties

Order, Icon, and Theme of the app are included in the app Appearance section.
610 app properties

The app theme can be selected by clicking on Theme 610 app pages

Groups and Users are included in the Permissions section. 610 app properties

note

If the groups and users are left undefined, all groups and users can access the app definition when deployed. Please note that the user and group restrictions only apply to the deployed apps and do not have any effect on users of Flowable Design.

The Pages section allows you to define app pages.
610 app properties

The Variables section allows you to define app variables. 610 app properties

The section Revisions provides an overview of your existing revisions and allows you to create a new revision. 610 app properties

The section Documents provides an overview of your existing documents and allows you to create and add new documents. See Adding FlowApp Pages

610 app properties

App Features

The App Editor allows you to define its appearance, features and allowed users. You can set the following features for an app:

  • An icon that can be used to distinguish it from other apps.

  • A theme that, similarly to the icon, can be used to further differentiate the app both in Flowable Design and any other application, such as Flowable Work and Flowable Engage.

  • Groups of users that can access the app.

  • Specific users that can access the app.

A number of actions can be performed on an app. These are available as buttons or in a dropdown menu in the app header area.

ActionDescription
PublishDeploy the app and its models for use.
Create RevisionCreate a new revision of the app
ExportDownload the app as a zip file.
MoveMove the app to a different workspace.
Refresh RelationsReload all identity links between the apps models.
Unlock ModelsUnlock all the models in the app
Select themeChoose the color and icon to use for the app.
Export translationsDownload a translations file.
Import translationsUpload a translations file.
Export variablesExport a summary of the variables
RemoveRemoves the app.

Adding Flowapp Pages

An app can also include Page models to provide custom dashboard and views. This kind of app is referred to as a FlowApp. To make a FlowApp you need to click the "Configure pages" button. This opens dialog to add Page models. A FlowApp can be navigated to directly if a FlowApp URL key is given.

610 app pages

Under the Pages table is a dropdown menu that allows you to select a Page model to add. Pages are added to the table in the order they are added. The order of Pages is used by Flowable Work and Flowable Engage when displaying them, and up and down arrows allow you to reorder the Pages in the table. It is possible to change the label of a Page, so it can have a more application-specific display label. Each Page can also have a URL key that allows the individual Pages to be accessed directly by URL.

v3.16.0+ App Revisions

A revision is a snapshot of the app at a specific point in time. You can create as many revisions as you want and can always revert to an older version if needed.

610 add app revision

You can do multiple actions on a revision:

  • Revert to this revision: Restores the app to the state it was in when this revision was created.
  • Copy into workspace: Copies the revision into a different workspace.
  • Publish: Deploys the revision to the runtime engine.
  • About: Shows information about the revision.
  • Download: Downloads the revision as a zip file.
  • Delete: Deletes the revision.

610 app pages

note

Reverting a revision will only revert the app in Flowable Design. If the app has been published, the revision will not be reverted in the runtime engine.

For more information on revisions, watch our youtube video

v3.17.0+ Refreshing App Relations

When clicking the Refresh relations button all model relations for the app will be re-calculated and stored. This action is typically used when you encounter issues with model relations.

v3.17.0+ Move Apps

You can use the Move App action on the app to move it to a different workspace. This is useful if you have created an app in the wrong workspace or need to move it to a different workspace for any reason. The move will also include the history of the models, the variables, revisions etc. Similar to the Import app action, there are advanced options that define how to handle the move in case there are already existing models with the same key in the target workspace. That is called a clash. The options available equal to the move.

A conflict occurs when a model that is a direct child of your application is linked to other models that are not directly part of you application, or if a model from a different application is referencing a model that is part of your application. In both cases the move models will not be moved, but copied instead.

note

As soon as a clash occurs, no history is available for that particular model. The app revision will also be lost. In case of a conflict, the app will still contain its revision after moving, however there will be no model history for the conflicted model.

App move and shared workspaces/models

With shared workspaces, Flowable introduced an easy to allow access models across different workspaces. This means that models can be shared between apps of different workspaces. When moving an app to a different workspace, the usage of shared models can lead to multiple scenarios:

  1. Both workspaces share the same workspace -> that is no problem at all. While moving a model, we do not need to move or copy models from the shared workspace.
  2. Both workspaces have a different shared workspace -> You need to run the move with Copy conflicted models from the shared workspace option. Be aware that this will copy the models from the shared workspace to the target workspace.

App Models

To add models to an app, click on the + Create button. This opens a dialog that allows you to choose how you want to add a model to the app: by creating a new one from scratch, importing one from a file, including a model already created in another app, or generate a model from external sources

Creating a new model is the default selection. You can choose the type, name, key, description, tags of the model you want to create and then click the Create button to create the model.

610 app include

You can import a model from a file by selecting the Import option. This displays a form that prompts you to select the type and a file to import.

610 app include

If you chose to include existing models to your app, you will be shown a form with a list of available models. Simply click on any model you want to include and confirm with Include.

Please be aware that it is not necessary to add models which are referenced in another model. For instance, if you wish to add a process model which contains a User Task referencing a form, you do not have to add that form to your app’s models manually. However, you do have to add the process or case model itself. In the app view, you can see the linked models shown along with those you added explicitly. If the border around a model is dark blue, it means it was added explicitly, otherwise it was included by reference (linked).

If you want to remove a model from an app, from the app view on the model list you will be able to select a trash icon on any explicitly added models. Referenced (linked) models will disappear if the model that references them is removed or uses a different referenced model.

610 app include

v3.15.0+

If you choose the Generate approach, you can select the following options:

610 app include