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
   },
   "processPath": "designer/portal-developer-examples/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
names: multilingual 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: the Axon Ivy IWebStartable identifier of the process you want to display