Instance List
Adds an instance list widget to your dashboard, which lists all the workflow instances that you are authorized to see and participate in.

Appearance

Behavior

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

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

callLaunchInstanceEvent(data)
Calls the 'On instance launched' event

createStatusCell(theView, cell)
Creates the status cell with the appropriate highlighting based on the current instance status.

deSelectAllRows()
Deselcts all selected rows

displayExpandedTaskRow()
Sets the list of conditions to filter the instance list. If a search term is provided, it overrides any previously specified search conditions.

getSelectedRecords()
Gets selected tasks

Inherited hide(collapseFlag)
Hide the view.
Example

hideStartBtn()
hide the start workflow button

initInstanceList(view)
Initializes the instance list.

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

launchInstance(row)
Opens the instance details for the given row.

onActionMenuClosed(actionsMenuView, actionsMenuTargetElement)
Called when the actions menu is closed.

onColumnSorting()
Triggered on column sorting

onResizeColumn()
Sets the column widths to the columnWidths binding

onTableRowSelected()
Triggered when table row get (all) selected

openFilter()
The event handler for the slideout toggle.

paginationHandler()
Handler for when the pagination view's value changes

refreshInstanceList()
Refresh instancelist when the refresh button is clicked

reload()
Reloads the instance list.

setAdvancedSearch(data)
Sets the json query for filtering the task list.

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

setFilterConditions(conditions)
Sets the list of conditions for filtering the instance list. If a search term is provided, it overrides the previously specified search conditions. The valid operators include "Equals", "NotEquals", "LessThan", "GreaterThan", and "In". For the "In" operator, use semi-colons ";" to separate a list of values.

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

setQuickFilterConditions(conditions)
Sets the list of conditions for filtering the instance list. If a search term is provided, it overrides the previously specified search conditions.

setSearchTerm(searchTerm)
Sets the search term. If a search term is provided, it overrides any previously specified search conditions.

setSelectedColumns(columns)
Sets the selected columns that the instance list displays, and reloads the list.

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

updateSortIcons()
Update sort icons displayed on table headers