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.
A list of the existing apps is displayed, ordered by date or name, with the ability to:
View and modify an app by clicking on its card, see App Editor
Create new apps, see Creating New Apps
Import apps, see Importing Apps
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:
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.
There are advanced options that define how the import, which can be selected if needed to perform extra steps in the import.
The options available are:
Option | Comment |
---|---|
Warn and Stop | If identical model keys are found, warn the user and stop. |
Update existing | If identical model keys are found, continue and treat as updates. |
Create new keys | If 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
name, key, description, Tags, Palette of the app model are included in the app Details, together with the Model Hierarchy
Order, Icon, and Theme of the app are included in the app Appearance section.
The app theme can be selected by clicking on Theme
Groups and Users are included in the Permissions section.
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.
The Variables section allows you to define app variables.
The section Revisions provides an overview of your existing revisions and allows you to create a new revision.
The section Documents provides an overview of your existing documents and allows you to create and add new documents. See Adding FlowApp Pages
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.
Action | Description |
---|---|
Publish | Deploy the app and its models for use. |
Create Revision | Create a new revision of the app |
Export | Download the app as a zip file. |
Move | Move the app to a different workspace. |
Refresh Relations | Reload all identity links between the apps models. |
Unlock Models | Unlock all the models in the app |
Select theme | Choose the color and icon to use for the app. |
Export translations | Download a translations file. |
Import translations | Upload a translations file. |
Export variables | Export a summary of the variables |
Remove | Removes 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.
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.
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.
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.
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:
- 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.
- 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.
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.
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.
v3.15.0+If you choose the Generate approach, you can select the following options: