List Process Instances - List Process Instances - This operation retrieves a list of process instances using administrative access. Use it when an administrative script needs to retrieve process instances with broader visibility. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/ltz2550355859826 - 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 list of process instances using administrative access. Use it when an administrative script needs to retrieve process instances with broader visibility.

The base request is:

getProcessInstances()

Use the optional RuntimeQueryMap to control paging and sorting of the returned process instances.

The following example retrieves up to 25 process instances:

const queryMap = {
    skipCount: 0,
    maxItems: 25,
    sort: 'id,DESC'
};

variables.processes =
    new RuntimeProcessInstanceAdminService()
        .getProcessInstances(queryMap);

In this example:

  • skipCount: 0 specifies the number of results to skip before returning results.
  • maxItems: 25 limits the number of results returned to 25.
  • sort: 'id,DESC' sorts the results by id in descending order.
  • getProcessInstances(queryMap) retrieves process instances using the specified paging and sorting parameters.