Skip to content

Delegate to Others

Feature Description

Delegate the task to others for processing. After delegation, the responsible person of the task will be set to the selected user. After the delegate completes the task, the task responsible person will be reset to the original responsible person.

Parameter Settings

Configuration ItemDescription
Workflow ModuleModule to which the workflow belongs
Task IDID of the task to be delegated
Require RemarksWhether remarks need to be filled in when delegating
Default RemarksDefault remarks information

Example

In the process task pop-up window, if we need a button to delegate the process to others for processing, we can achieve this by adding a button with the execution action Delegate to Others. In the leave application module shown below, the superior approval task node is set to the selected user through the delegate button.

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