Property
The process instance list is displayed in the Tracking tab of HTML Workspace.
In the process instance list, for each process instance, HTML workspace shows some properties of that instance. The following properties are available for each process instance. These properties are stored as attributes in the process instance component model and are available for use in its view and template.
|
Comments |
description |
Description of the process instance. |
initiator |
Name of initiator of the process instance. |
initiatorId |
ID of the initiator of the process instance. |
processCompleteTime |
Time stamp when the process completed. |
processInstanceId |
ID of the process instance. |
processInstanceStatus |
0 = Initiated |
processName |
Name of the process. |
processStartTime |
Time stamp when the process started. |
processVariables |
Array of objects of process variables. Each process variable object contains name (the name of process variable), value (value of the process variable), and type (the type of process variable). |
Example:
To display the description property of the process instance in the process instance card, perform the following steps.
-
Follow the Generic steps for HTML Workspace customization.
-
Do the following:
- Copy /libs/ws/js/runtime/templates/processinstance.html to /apps/ws/js/runtime/templates/, if it does not exist. Click Save All.
- Add process description div with class = 'processDescription' in processinstance.html.
<div class="processDescription" title="<%= description%>"><%= description%></div>
-
Do the following:
- Open /apps/ws/js/registry.js for editing.
- Search and replace text!/lc/libs/ws/js/runtime/templates/processinstance.html with text!/lc/apps/ws/js/runtime/templates/processinstance.html.
-
The above changes may require an update to the CSS file by adding an entry in the style sheet /apps/ws/css/newStyle.css in the following way:
.processinstance .processDescription { <!--Dummy values, need to be configured by user as per requirement as well as user can add or delete any property depending upon requirement--> width : 250px; font-size : 11pt; padding : 2px; }
More like this
- Introduction to Customizing HTML Workspace
- Generic steps for HTML Workspace customization
- Managing tasks in an organizational hierarchy using Manager View
- Integrating Correspondence Management in HTML Workspace
- Single Sign On and timeout handlers
- Displaying the user avatar
- Displaying information in the Task Summary pane
- Changing the organization logo
- Changing the color scheme of the interface
- Changing the font on the interface
- Changing the locale of the user interface
- Customizing error dialogs
- Customizing tabs for a task
- Customizing Task Actions
- Customizing the listing of process instances
- Customizing the task Details page
- Displaying additional data in ToDo list
- Getting Task Variables in Summary URL
- Images for Route Actions
- Creating a new login screen
- Minification of the JavaScript files
- Sorting of Tracking tables and adding more columns
- Updating the link to the documentation
- Hosting two HTML Workspace instances on one server