The process diagram provides a visual illustration of the workflow process.
getProcessDiagram
The process diagram provides a visual illustration of the workflow process.
Parameters
- Process process
- The process for which to fetch the process diagram.
Returns
Returns a ContentStream object representing a thumbnail of the process diagram.
Exception
Throws an SkyVaultServiceException if the operation cannot be completed.
Throws an UnsupportedMethodException if the underlying engine is jBPM.
Example
ContentStream contentStream = workflowService.getProcessDiagram(process);
getProcessDiagram
The process diagram provides a visual illustration of the workflow process.
Parameters
- String processId
- The process identifier for which to fetch the process diagram.
Returns
Returns a ContentStream object representing a thumbnail of the process diagram.
Exception
Throws an SkyVaultServiceException if the operation cannot be completed.
Throws an UnsupportedMethodException if the underlying engine is jBPM.
Example
ContentStream contentStream = workflowService.getProcessDiagram(processId);