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",
"names": [
{
"locale": "en",
"value": "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-viewer
for a process viewer widget
id
: ID of the widget
names
: multilingual name of the widget on UI.
layout
: layout definition of the process viewer widget
x
: HTML DOM Styleleft
is calculated as formulax / 12 * 100%
y
: HTML DOM Styletop
is calculated as formulay / 12 * 100%
w
: HTML DOM Stylewidth
is calculated as formula60 * w + 20 * (w - 1)
h
: HTML DOM Styleheight
is 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