bpm-work-views

The <bpm-work-views> business component displays a menu of the work views that are available to the logged in user.

The component's internal controller invokes the BPMWorklistService.getViewsForResource operation to populate the list of work views. The data is displayed using an accordion control. Selecting a particular work list updates the list of work items displayed by the work-list business component.

If you want to customize the contents of the <bpm-work-views> business component, see Customizing a Business Component for more information.

Usage

<bpm-work-views
    template-data="object"
    [template-path="string"]>
</bpm-work-views>
Note: In ActiveMatrix BPM 4.0 the <bpm-work-views> business component was called <work-views>. In this release of ActiveMatrix BPM you can use either name to call this business component, as follows:
<work-views
   // all attributes are the same as for <bpm-work-views>
   // ...
</work-views>
However, best practise is to use <bpm-work-views>. <work-views> has been deprecated in ActiveMatrix BPM 4.1 and may be removed in a later release.

Attributes

Name Type Description
template-data templateDataModel object Data for the work view.
template-path String (Optional) Relative pathname of a custom template file to use in place of the internal template.

Example

The <bpm-work-views> business component is used:

  • on the WORK VIEWS tab of the Component Showcase application.
  • in the My Work App application, available as the Work Views accordion control in the side bar. (See workapp/index.html).