Delete Workflow Task
Parameter Configuration
| Parameter | Description |
|---|---|
| Workflow Module | The workflow module to which the workflow task belongs |
| Process Task ID List | List of process task IDs. You can use expressions to get context variables to specify dynamic content |
| Whether to Delete Cascadingly | After enabling, cascade delete subtasks and historical records related to the task ID list |
| Reason | Reason for deletion, you can use expressions to get context variables to specify dynamic content |
Notes
When deleting a workflow task, the corresponding task must be in a completed state, otherwise an error will be thrown. If you need to delete an ongoing task, you can implement it by calling delete after Completing Workflow Task, Revoking Workflow Instance, or Deleting Workflow Instance steps.
Usage Scenarios
- In cross-application situations, other applications publish application events, and this application deletes workflow tasks after listening to the published events
- Delete workflow tasks after being triggered by scheduled tasks, form listeners, button controls, etc.
- Application API interfaces, after being called by third parties, delete process tasks

