25.1.9.1.8.9.3 Loading Parameter Values Into Items

Load updatable task parameter values into page items before rendering.

Using an appropriate computation in the Pre-Rendering section of the page, as shown below, you can load the value of P6_VALUE1 from the corresponding updatable task parameter using its Static ID P_VALUE1.

The PL/SQL expression follows, referencing the value of the task id in a hidden page item:
apex_human_task.get_task_parameter_value(:P6_TASK_ID,'P_VALUE1')

You can add a similar computation to load the value of parameter P_VALUE2 into P6_VALUE2. The figure shows the P6_VALUE1 computation selected in the component tree and highlights its PL/SQL expression described above that retrieves the value of an updateable task parameter from the current task instance.

Figure 25-50 Loading Task Parameter Values Into Page Items Before Page Render