Delete Workflow Instance
Parameter Configuration
| Parameter | Description |
|---|---|
| Process Instance ID | Workflow instance ID. Dynamic content can be specified using expressions to get context variables |
| Reason | Reason for deletion. Dynamic content can be specified using expressions to get context variables |
Notes
When deleting a process instance, the workflow engine will completely delete data related to the workflow instance (process instance, process tasks, process comments, etc.). If you need to retain data, you can use Revoke Workflow Instance
Usage Scenarios
- In cross-application scenarios, after other applications publish app events and this application listens to the published events, delete the workflow instance
- Delete the workflow instance after triggers such as scheduled tasks, form listeners, and button controls
- Delete the process instance after third-party calls to the application API interface

