Save Task Form
Feature Description
Save the currently filled workflow task form. The save action only saves the form data and does not trigger process flow.
Parameter Settings
| Configuration Item | Description |
|---|---|
| Workflow Module | Module to which the workflow belongs |
| Task ID | ID of the task to be saved |
Example
In the process task pop-up window, if we need a button to temporarily save form data, we can achieve this by adding a button with the execution action Save Task Form. In the leave application module shown below, the superior approval task node uses the save button to directly save the form data.
Suppose there is a simple Leave Application process. After the process is initiated, the process instance ID is saved in the Leave Application data table.
The structure of the Leave Application data table that stores form data is as follows:
| Field | Type | Description |
|---|---|---|
| applicant | User Selection | Applicant |
| leaveType | List Selection | Leave Type, with options Annual Leave, Sick Leave, Personal Leave |
| startDate | Date | Start Date |
| endDate | Date | End Date |
| reason | Multi-line Text | Reason for Leave |
| status | List Selection | Status, with options Pending Approval, Approved, Rejected |
| approver | User Selection | Approver |
| instanceId | Single-line Text | Process ID |
The process flow diagram is as follows:

The process startup settings are as follows:


