Update Record Fields
Feature Description
Update specific field values for one or more records
Parameter Settings
| Configuration Item | Description |
|---|---|
| Data Table | Record's data table type |
| Field Values | Fields to be updated and their values |
| Record ID | Record ID or Record ID array to be edited |
Example
In the form page, if we want to update the task status by clicking a button, we can configure a function button with the execution action Update Record Fields. For example, in the work task module shown below, clicking the Start button in the form toolbar can update the task status to "In Progress" and set the current time as the start time.
To configure such a button, you need to add a button to the toolbar of the form page with the execution action Update Record Fields. Select the current data table in the Data Table configuration item. In this case, we select "Work Task". Enter the ID of the record to be updated in the Record ID configuration item, which can be obtained through an expression. The configuration in this case is shown in the following figure.
In the Field Values configuration item, you can select the fields to be updated and set the content to be modified. The field values can be obtained through expressions. When "Reload data table page data after update is successful" is enabled, the page will be automatically refreshed after the update. The configuration in this case is shown in the following figure.

