Defining static or dynamic data

In a table component, you can define static or dynamic data to be displayed when activities are started.

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.

To define static or dynamic data, complete the following steps:

  1. On the Define table data page, select Static data or Dynamic data, and click Next.
  2. Complete the following steps for static and dynamic data.
    Type of data Steps to define data
    Static data
    1. Click Add to add the rows.
    2. Specify the details for the fields.
    3. 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
    1. Click the Dynamic Data Dynamic Data icon.
    2. Select a node, and click Next.

      You must select a repeated node for a value to be populated.

    3. 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.

    4. Click OK.

    A validation error is displayed when an incorrect mapping is done.

    Note: The API response results a maximum of 100 rows.
  3. Click Finish.