Configure Process Viewer Widget
Define Process Viewer Widget
The Process Viewer Widget of the Portal dashboard provides a visual representation of the process flow.
Below is a sample JSON definition of a process viewer widget in the Portal dashboard
{
"type": "process-viewer",
"id": "process_viewer_1",
"name": "Your Process Viewer",
"layout": {
"x": 0, "y": 0, "w": 12, "h": 6
},
"processStart": "Start Processes/Request/createNewRequest.ivp"
}
The basic JSON structure of a process viewer widget
type: type the of widget. Useprocess-viewerfor a process viewer widget
id: ID of the widget
name: Name of the widget on UI
layout: layout definition of the process viewer widget
x: HTML DOM Styleleftis calculated as formulax / 12 * 100%
y: HTML DOM Styletopis calculated as formulay / 12 * 100%
w: HTML DOM Stylewidthis calculated as formula60 * w + 20 * (w - 1)
h: HTML DOM Styleheightis calculated as formula60 * h + 20 * (h - 1)
styleClass(optional): add CSS Classes to HTML DOM of the widget
style(optional): add inline style to HTML DOM of the widget
processPath: user friendly request path of the process you want to display