Skip to main content
You can override the default configuration of Tasklist using a central configuration file located in app/tasklist/scripts/config.js. The following configuration options are available:

Date Format

Dates can be configured by specifying a dateFormat object. The values of the properties of this object must be strings representing date formats in accordance with moment.js. Following date formats are used within Tasklist:
  • monthName represents the name of a month (e.g., January).
  • day represents the number of a day in a month (1..31).
  • abbr represents a short format of a date including time.
  • normal represents the standard format of a date including time.
  • long represents a verbose format of a date including time and day of the week.
  • short represents a short format of a date excluding time.

Example

Localization

Tasklist can be localized. ASEE Flow maintains English and German translation files. You can find and download community maintained translation files at the Camunda webapp translations repository. The localization of Tasklist is contained in the app/tasklist/locales/ directory. This directory contains a separate localization file for every available language. The file name consists of the language code and the suffix .json (e.g., en.json). Tasklist uses a locale file corresponding to the language settings of the browser. You can set the availableLocales property in the configuration file to provide a list of available locales. Every locale which is contained in this list must have a locale file in the locales directory with the corresponding language code. If the browser uses a language which is not available, Tasklist uses the locale which is defined via the fallbackLocale property in the configuration file:
To create a new localization for Tasklist, copy the provided language file, translate it and save it as new localization file with the corresponding language code. To make the new translation available, add it to the list of available locales in the configuration file.

Custom Scripts

Tasklist allows you to include arbitrary JavaScript files. This allows you to extend Tasklist with custom code. The script file might contain a custom frontend module. Tasklist shares the frontend module structure with Cockpit Plugins. Add your files to the customScripts property of the app/tasklist/scripts/config.js file:
This includes a custom-module/module.js file. The path is relative to the app/tasklist folder in the ASEE Flow webapp .war file. You can find a complete example about how to use customScripts to develop a Tasklist Plugin in the Camunda examples repository.

Shortcuts

If you want to change the keyboard shortcuts for certain tasklist operations, you can change the key-combination and the description of the shortcuts in the shortcuts section of the config file. Removing an existing entry from the list will disable this shortcut (you can still perform the operation normally within the tasklist, i.e. removing the Claim Task shortcut will not remove the ability to claim a task either with the mouse or with the normal keyboard navigation). You can also add additional shortcuts. If you do so, whenever the user presses the registered combination of keys, an angular event in the form of shortcut:{{nameOfShortcut}} will be broadcasted across the application. A Tasklist plugin can then react to this event.

Logo and Header Color

You can change the visual aspects of Tasklist. The user stylesheet file is located in app/tasklist/styles/user-styles.css. This file contains CSS which is loaded into Tasklist and can override the standard styles.
Note: you can also change the app name (Tasklist) and vendor (ASEE Flow) by changing the app/tasklist/scripts/config.js configuration file as follow:
The default name of the CSRF Cookie is XSRF-TOKEN. When using other applications within the same-origin, the CSRF mechanisms could interfere with each other. To avoid the name conflict, you can change the name of the CSRF cookie in the config.js file as follows:
Note: Please make sure to change the CSRF cookie name also on server-side.

Disable Welcome Message for new Users

First-time visitors are shown a message directing them to the camunda welcome page. If you do not want this message to be shown, you can disable it by adjusting the config.js as follows:
Note: This does only affect the Tasklist login page. For other webapps, you need to adjust the corresponding config file as well.

Assign Process Instance Id to Task Comments

When creating a Task Comment, the process instance ID is not assigned by default. Queries for comments by process instance ID will not include those comments. When you set the flag assignProcessInstanceIdToTaskComment to true, Tasklist assigns both the task id and the process instance id to newly created Task Comments. This allows you to query Task Comments by process instance id and by task id.

Where user-styles.css lives

Tasklist ships compiled: its style sources and their build are not part of the ASEE Flow distributions. To restyle it beyond the example above, put your CSS into user-styles.css. Tasklist loads that file after its own stylesheet, so your rules take precedence. Where the file is depends on how you run ASEE Flow:
  • Tomcat distribution: server/apache-tomcat-<version>/webapps/aseeflow/app/tasklist/styles/user-styles.css. Edit it in place.
  • WildFly distribution: app/tasklist/styles/user-styles.css inside aseeflow-webapp-wildfly-<version>.war, in server/wildfly-<version>/standalone/deployments/. With WildFly stopped, take the file out of the archive, edit it, and put it back:
  • ASEE Flow Run: META-INF/resources/webjars/camunda/app/tasklist/styles/user-styles.css inside aseeflow-webapp-webjar-<version>.jar, in internal/webapps/. With Run stopped, take it out and put it back the same way. A jar in configuration/userlib cannot replace it, because Run puts its own modules first on the classpath.
  • Your own Spring Boot application: add the file to your application as src/main/resources/META-INF/resources/webjars/camunda/app/tasklist/styles/user-styles.css. It replaces the one that comes with the web applications; the other applications keep theirs.
On a distribution, keep a copy of your file: an update replaces the web applications, and user-styles.css with them. Browsers cache the stylesheet, so reload without the cache to see a change.