Skip to content

Revoke Workflow Instance

Parameter Configuration

ParameterDescription
Process Instance IDWorkflow instance ID. Dynamic content can be specified using expressions to get context variables
ReasonReason for revocation. Dynamic content can be specified using expressions to get context variables

Notes

When revoking a process instance, the workflow engine will set the process to a "revoked" state, but will retain data related to the workflow instance (process instance, process tasks, process comments, etc.)

Usage Scenarios

  • In cross-application scenarios, after other applications publish app events and this application listens to the published events, revoke the workflow instance
  • Revoke the workflow instance after triggers such as scheduled tasks, form listeners, and button controls
  • Revoke the process instance after third-party calls to the application API interface