25.1.9.1.8.9 Fine-Tuning a Task Details Page
Fine-tune a generated Task Details page for the needs of each task definition.
Your generated Task Details Page is a great starting point. Consider fine-tuning it
to meet your particular task definition's needs. It offers useful built-in
functionality, but know that it illustrates one particular way to use the native
Human Task page processes and APEX_HUMAN_TASK programmatic
APIs. Understand what you get by default, then decide on a task by task basis what to
remove, add, or change.
While in theory you could use a single, generic task definition page with every task definition, the user experience would suffer. In practice, if a work item is unique enough to model as a task definition, it benefits from a task-specific Task Details Page. This way, you can show the assignee additional context tailored to that task definition, along with additional fields and functionality as required.
- Adding Page Items to Edit Parameters
Add page items to give users a better experience when entering task parameter values. - Making Items Conditionally Read Only
Make task page items editable only for the assigned owner while the task is active. - Loading Parameter Values Into Items
Load updatable task parameter values into page items before rendering. - Validating Parameter Page Items
Validate task parameter page items before saving their values back to the task. - Saving Page Items to Task Parameters
Save validated page item values back to updatable task parameters. - Working with a Business Entity Row
Show or update the related business row from a task-specific details page.
Parent topic: Using and Tuning the Task Details Page