Skip to content

Complete Task

Feature Description

Save the form data of the current process and submit the task to the next node

Parameter Settings

Configuration ItemDescription
Workflow ModuleModule to which the workflow belongs
Task IDID of the task to be completed
Require RemarksWhether remarks need to be filled in when completing the task
Default RemarksDefault remarks information
Set Process VariablesSet workflow variables when completing
Form Data TableData table for saving form data
Set Form Field Values After CompletionAutomatically set form field values after completing the task

Example

In the process task pop-up window, if we need a button to transfer the process to the next node, we can achieve this by adding a button with the execution action Complete Task. In the leave application module shown below, the superior approval task node transfers to the next task node through the agree button.

Example Diagram

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:

FieldTypeDescription
applicantUser SelectionApplicant
leaveTypeList SelectionLeave Type, with options Annual Leave, Sick Leave, Personal Leave
startDateDateStart Date
endDateDateEnd Date
reasonMulti-line TextReason for Leave
statusList SelectionStatus, with options Pending Approval, Approved, Rejected
approverUser SelectionApprover
instanceIdSingle-line TextProcess ID

The process flow diagram is as follows:

Process Flow Diagram

The process startup settings are as follows:

Process Settings

Control configuration is as follows: