Retrieve a Task by its Identifier - Retrieve a Task by its Identifier - his operation retrieves a task by its identifier. Use it when a script needs to retrieve the details of a specific task. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/riq9961305510640 - 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

his operation retrieves a task by its identifier. Use it when a script needs to retrieve the details of a specific task.

The base request is:

getTaskById(taskId)

Use getTaskById(...) to retrieve the task that matches the specified identifier.

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

variables.task =
    new RuntimeTaskService()
        .getTaskById(variables.taskId);