In a table component, you can define static or dynamic data to be displayed when
activities are started.
About this task
In a static data column, users can manually enter text data. In a dynamic data column, the data
is displayed as retrieved from any mapping, such as context data or API response.
The API value mapping depends on the dynamic data root node that you select. Rows in the table
component are derived from the element that is mapped to the dynamic data.
For dynamic data, the API response results a maximum of 100 rows.
Procedure
To define static or dynamic data, complete the following steps:
-
On the Define table data page, select Static data
or Dynamic data, and click Next.
-
Complete the following steps for static and dynamic data.
| Type of data |
Steps to define data |
| Static data |
- Click Add to add the rows.
- Specify the details for the fields.
- Click Finish.
Note: If a column is made mandatory and no value is added, the validation for the mandatory column
is made during the processing of the activity.
|
| Dynamic data |
- Click the
Dynamic Data icon.
- Select a node, and click Next.
You must select a repeated node for a
value to be populated.
- Specify the Default value or API
value for each column that you added for the table.
The Default value can be hardcoded
or mapped to Activity Context, User Context, and Custom Fields. Based on the dynamic data selection,
the API value can either be mapped to API responses or context data. During execution, if the
default value is updated by the user, the updated value is retained even if the task is reopened.
To define the API mapping, you must select the child of the repeated node that you selected
earlier. Multiselect mapping is not supported. You must select a child node that has
attributes.
- Click OK.
A validation error is displayed when an incorrect mapping is done.
Note: The API response results a maximum of 100 rows.
|
-
Click Finish.