Delete a Task - Delete a Task - This operation deletes a task. Use it when a script needs to remove a task as part of a cleanup or cancellation scenario. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/tbh5641309180613 - Current - Current

Hyland Automate Modeler

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

This operation deletes a task. Use it when a script needs to remove a task as part of a cleanup or cancellation scenario.

The base request is:

deleteTask(taskId)

Use deleteTask(...) to delete the task that matches the specified identifier.

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

new RuntimeTaskService()
    .deleteTask(variables.taskId);