Open Process Creation Page
Feature Description
Open the process creation page. After users fill out the form, a new workflow instance is created
Parameter Settings
| Configuration Item | Description |
|---|---|
| Workflow Module | The module to which the workflow belongs |
| Process | The workflow to be created |
| Process Variables | Set process variables during creation |
| Form Data Table | If the workflow has a start form configured, select the data table that stores the form data |
| Form Field Default Values | Set default values for fields in the start form |
Example
In a data table, if we need to initiate a process directly through a button, we can achieve this by adding a button with an execution action of Open Process Creation Page. As shown in the figure below, in the leave application module, we initiate a leave process through a button.
Example Figures
Configuration Instructions
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:

Control configuration is as follows:

