Retrieve a Process Instance by its Identifier - Retrieve a Process Instance by its Identifier - This operation retrieves a process instance by its ID. Use it when script logic needs information about a specific process instance currently running in the runtime. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/ias4529907851191 - 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 retrieves a process instance by its ID. Use it when script logic needs information about a specific process instance currently running in the runtime.

The base request is:

getProcessInstanceById()

The following example retrieves a process instance using an ID stored in a process variable:

variables.process =
    new RuntimeProcessInstanceService()
        .getProcessInstanceById(variables.processInstanceId);

Because this operation returns the process instance directly, the script can immediately access details such as the process state, definition information, business key, and process variables returned by the runtime service.