Retrieve a Process Instance Diagram - Retrieve a Process Instance Diagram - This operation retrieves the process model or diagram for a process instance. Use it when a script needs access to process visual or model data. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/wlw7833409441034 - 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 the process model or diagram for a process instance. Use it when a script needs access to process visual or model data.

The base request is:

getProcessDiagram()

The following example retrieves the process diagram for a process instance:

variables.diagram =
    new RuntimeProcessInstanceService()
        .getProcessDiagram(variables.processInstanceId);

Because this operation returns the diagram data directly, the script can immediately access and work with the process model information returned by the runtime service.