bpm-event-view

The <bpm-event-view> business component displays the audit trail for a specified process instance.

The component's internal controller invokes the BPMEventViewService.getEventView operation to provide the audit data. The data is displayed using an accordion control, which can have optional sort controls.

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

Usage

<bpm-event-view
   event-data-list="array" 
   process-instance-id="number" 
   show-controls="boolean" 
   just-open-one-item="boolean"
   default-open-index="number"
   [template-path="string"]>
</bpm-event-view>

Attributes

Name Type Description
event-data-list Array Audit trail data for the specified process-instance-id, returned by the BPMEventViewService.getEventView operation.
process-instance-id Number ID of the process instance for which the audit trail should be displayed.
show-controls Boolean Defines whether the Sort events control is displayed (true) or hidden (false).
just-open-one-item Boolean Defines whether expanding an event item in the accordion causes an already open event item to close (true) or not (false).
default-open-index Number Index number of the event item in the accordion to open by default.
template-path String (Optional) Relative pathname of a custom template file to use in place of the internal template.

Example

The <bpm-event-view> business component is used:

  • on the WORK LIST tab of the Component Showcase application, when a work item is selected and you click the E (Events) button in the right-hand pane.
  • in the My Work App application, when you select a work item in a Work View, then click DETAILS in the footer menu, then click the E (Events) button in the right-hand pane.

In each case, <bpm-event-view> is called from the bpm-work-list business component.