Introduction

Task Delegation UI Element allows any authorized users to temporarily delegate tasks to a different user for a period of time.

Task Delegation Properties

Edit Task Delegation

Figure 1: Task Delegation Properties


LabelThe UI menu label.
Menu ID

Item link slug. Optional field.

Ensure that value defined here is unique to other UI menus in the app since the first matching/conflicting ID will take precedence in page loading.

Configuration Mode

Authority to perform delegation.

  • User-user self-service
  • HOD - able to configure for users in a department
  • All - able to configure for all users
Reassignment Mode

Scope of delegation.

  • No restriction
  • Same department only
  • Same user groups only
Allowed Apps

List of Apps that can be chosen in creating delegation records.

  • All Apps
  • Current App
  • Selected Apps - A separate selection, Select Allowed Apps will appear when this option is chosen.
Allowed Processes

List of Processes based on the Allowed Apps above that can be chosen in creating delegation records.

  • All Processes
  • Selected Processes - A separate selection, Select Allowed Processes will appear when this option is chosen.



Figure 2: Sample Task Delegation in runtime

UI

List

Figure 3: UI - List Properties


Date Display Format

Use Java date format. (Example: "dd/MM/yyyy" for "11/06/2011")
Read the Date Format Pattern Syntax documentation for a list of date formats you can use.

When this field is left empty, the following will be considered.

  1. If the current locale starts with "zh", the format will be set as "yyyy-MM-dd".
  2. If "Using Locate Date Format" is set in General Settings, date format based on the current user's locale will be used.
  3. Otherwise, it will use "MM/dd/yyyy".
Button Position

Button position on the list.

  • Top Left
  • Top Right
  • Bottom Left
  • Bottom Right
  • Top Left & Bottom Left
  • Top Right & Bottom Right
Selector Type
  • Multiple
  • Single
Selector Position
  • Left
  • Right
  • Both let & right
  • No
New Record Button Label
New Record Button Label to show in listing.
Edit Link Label
Edit Link Label to show in listing.
Delete Button Label
Delete Button Label to show in listing.
Custom HeaderCustom Header in HTML to show in listing.
Custom FooterCustom Footer in HTML to show in listing.


Add

Figure 4: UI - Add Properties


Cancel Button LabelCancel button label in add new record form.
Save Button LabelSave button label in add new record form.
Message to show after Form savedMessage to show after the form is saved
Custom HeaderCustom Header in HTML to show in add new record form.
Custom FooterCustom Footer in HTML to show in add new record form.



Edit

Figure 5: UI - Edit Properties


Readonly?If checked, effectively, the task delegation form will be rendered as read-only and not editable anymore.
Display Fields as Label when in Readonly?When the form is in read-only form, this field determines if values should be displayed as it is (label form) instead of being bound in the original input form.
Back Button LabelBack button label in edit record form.
Save Button LabelSave button label in edit record form.
Message to show after Form savedMessage to show after Form is saved
Custom HeaderCustom Header in HTML to show in edit record form.
Custom FooterCustom Header in HTML to show in edit record form.


Performance & Offline

Figure 6: Performance & Offline Settings

Name

Description

Scope

Caching options are:

  • None: No caching.
  • Application: Cache content by application where all users will see the same content.
  • User: Cache by username.
Duration (s)Duration in seconds to cache content defaults to 20 seconds if applicable.

Read more at Performance Improvement with UI Caching.

PWA Offline Settings

Note: PWA Offline support is dependent on the theme used.

Name

Description

Enable cache for offline supportEnable caching for offline support, usually set for use on mobile browsers.
Cache all List links in first pageEnable caching for any list links present in the first page of this UI menu.

Read Progressive Web Application (PWA) for more information.

Download Demo App

Go to Enhanced Task Delegation in Joget Marketplace.

The Enhanced Task Delegation app integrates with the existing Joget Task Delegation UI menu. The app reads and writes records into the original task delegation database table. Additional custom fields are stored in the database table "app_fd_taskDelegation".  With this app, you can customize your Task Delegation form with additional fields in the section called "Custom Fields". The UI uses a CRUD menu and the Forms has BeanShell and Workflow Form Binder to handle reading and writing into two database tables.