1. Summary

This command lets you configure custom tables using a JSON representation. The user can then extend the table by adding new rows.

2. Examples

Figure 1. The Command

Due to simplicity, the descriptiveText input parameter will be left empty for the examples. By default, it is set to “Please fill out the table below to continue.”.

All example images use the Human Task representation of the Workflow Executor.

Let’s set up a really simple table with one column to input a name. The tableMapping parameter is required and takes the table definition as a JSON.

    "key": "name",
    "header": "Name",
    "form": "TextField",
    "mandatory": true

When running the command with this sample input, we get the following output.

ConfigurableTable1 1
Example 1. Simple Command Run

The user can now extend the table by providing new rows with hitting the Add Button. After a new row is created, it can also be deleted by clicking on the trash can.

Example 2. Configurable Table Usage