Delete a Process Instance - Delete a Process Instance - This operation deletes a process instance using administrative access. Use it when an administrative script needs to remove a process instance for cleanup or remediation. If you don't need the elevated privileges, use Delete a Process Instance This operation deletes a process instance. without them instead. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/ejm4085254820964 - Current - Current

Hyland Automate Modeler

Platform
Content Innovation Cloud
Product
Hyland Automate Modeler
Release
Current
License
ft:lastPublication
2026-11-09T23:07:34.300254
ft:locale
en-US

This operation deletes a process instance using administrative access. Use it when an administrative script needs to remove a process instance for cleanup or remediation. If you don't need the elevated privileges, use Delete a Process Instance without them instead.

The base request is:

deleteProcessInstance(processInstanceId)

The following example deletes a process instance using an identifier stored in a process variable:

new RuntimeProcessInstanceAdminService()
    .deleteProcessInstance(variables.processInstanceId);