Instance Viewer
Adds an instance viewer widget to your dashboard, which displays workflow instance details such as data that is relevant to the instance.

Appearance

Behavior

Performance

Extends:
com.ibm.bpm.coach.CoachView
Methods:

activitySelectorConditionChanged(event)
Change the filter condition.

Inherited addClass(name, [replaced])
Add or replace the CSS classes for this view.
Example

addCommentClicked(event)
Add comment handler.

beforeViewInstance(eventName, eventData)
Call the event before the instance is shown, and extract target instance information (piid & systemID).

cancelComment(event)
Cancel comment handler.

closeButtonHandler(event)
Close the button handler.

closeInstance()
Close the instance UI.

createDocumentCell(theView, cell)
Format Document tab listing values custom formatting for column

delayReload()
Event called to handle back up reloading when the notification fails.

followInstance()
Follow the instance.

getInstance()
Get the instance data.

Inherited hide(collapseFlag)
Hide the view.
Example

initializeView(event)
Initialize the view.

Inherited isBound() Returns: {boolean}
Indicate the bound status of the view.

Inherited isEnabled() Returns: {boolean}
Check whether the view is enabled.
Example

Inherited isLabelVisible() Returns: {boolean}
Check whether the view label is visible.
Example

Inherited isVisible() Returns: {boolean}
Check whether the view is visible.
Example

launchTask(task)
Launch the instance for the given row.

loadActivityCommentCard(target)
Loads a comment card for a specific activity.

loadActivityDetail(view, target)
Loads the activity document, data, and comments into the side panel.

loadCommentCard(target, isForActivity)
Load a comment card.

loadDataCard(target)
Load a data card.

loadDocumentCard(target)
Loads a document card.

loadStartableActivityCard(target)
Load a startable activity card.

modifyInstance(event)
Modifies the Instance UI.

onActionMenuClosed(actionsMenuView, actionsMenuTargetElement)
Close the actions menu.

onActionMenuOpen(actionsMenuView, actionsMenuTargetElement)
Open the actions menu.

onTabChange(event, oldTabIndex, tabIndex)
On Tab Change.

openInstanceActionMenu(event)
Modify the Instance UI.

openWorkstreamErrorDetailModal()
Open the workstream error details modal.

postComment(event)
Post the current comment to the instance.

Inherited propagateUpValueChange(event) Returns: {boolean}
Propagate the value change of the view up through the parent views.
Example

reloadInstance(event)
Close the instance UI.

Inherited setEnabled(enabled, required)
Enable or disable the view.
Example

setInstance(instance)
Set the instance data.

Inherited setLabelVisible(visible)
Show or hide the view label.
Example

Inherited setViewData(data, createPseudoBinding)
Set or update the bound data associated with the view. It applies only to views with bound data.

Note: It should only be used with simple type bindings, or complex type bindings with simple type properties.
It should not be used with bindings that have properties that are lists or compext types. For complex types, set the bindings by using
the binding.set pattern, as described in the Binding data and configuration options documentation section.
Example

Inherited setVisible(visible, collapse)
Show or hide the view.
Examples

Inherited show()
Show this view.
Example

showDefaultActivityDetail()
Load the default document, data, and comments into the side panel.

startableAdhocActivity(target)
Start an adhoc activity.

taskListNotificationsHandler(eventName, eventData)
Call the event to handle the task updates.

Inherited triggerFormulaUpdates([phase])
Broadcast the expression trigger for the specified view.
Example

unFollowInstance()
Unfollows the instance.