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.
Unique 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.
- User - user self service
- HOD - able to configure for users in a department
- Admin - 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 record.
- 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 record.
- All Processes
- Selected Processes - A separate selection, Select Allowed Processes will appear when this option is chosen.
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.
- 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 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:
|
| 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 support | Enable caching for offline support, usually set for use on mobile browsers. |
| Cache all datalist links in first page | Enable 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.




