Introduction

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

Task Delegation Properties

Edit Task Delegation

id: Menu element unique id. Userview will use this id in the URL for the menu if the Custom ID is empty.

Custom ID: Item link slug. Optional field.

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

Label: The userview menu label.

Configuration Mode:  Authority to perform delegation.

Reassignment Mode:  Scope of delegation.

Allowed Apps:  List of Apps that can be chosen in creating delegation record.

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

Figure 1: Task Delegation Properties


Figure 2: Sample Task Delegation in runtime

UI

List

Date Display Format: Date display format to be used when editing/adding record.
Please refer to http://docs.jquery.com/UI/Datepicker/formatDate for the format.

Button Position:  Button position on the list.

Selector Type: 

Selector Position: 

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 Header: Custom Header in HTML to show in listing.

Custom Footer: Custom Footer in HTML to show in listing.


Figure 3: UI - List Properties

Add

Cancel Button Label: Cancel button label in add new record form.

Save Button Label: Save button label in add new record form.

Message to show after Form saved: Message to show after form is saved

Custom Header: Custom Header in HTML to show in add new record form.

Custom Footer: Custom Footer in HTML to show in add new record form.

Figure 4: UI - Add Properties


Edit

Readonly: If checked, effectively, the 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, determines if values should be displayed as it is (label form) instead of being bounded in original input form.

Back Button Label: Back button label in edit record form.

Save Button Label: Save button label in edit record form.

Message to show after Form saved: Message to show after Form is saved

Custom Header: Custom Header in HTML to show in edit record form.

Custom Footer: Custom Header in HTML to show in edit record form.


Figure 5: UI - Edit Properties


Performance & Offline

Cache 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 Userview 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 datalist links in first pageEnable caching for any datalist links present in the first page of this userview 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 userview 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 userview uses CRUD menu and the Forms has BeanShell and Workflow Form Binder to handle reading and writing into two database tables.