bpm-work-item-history

The <bpm-work-item-history> business component displays the audit trail for a specified work item.

The component's internal controller invokes the BPMWorkItemHistoryService.getWorkItemHistory operation to provide the audit data.

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

Usage

<bpm-event-view
   history-data-list="array" 
   work-item-id="number" 
   [template-path="string"]>
</bpm-event-view>

Attributes

Name Type Description
history-data-list Array Audit trail data for the specified work-item-id, populated by the BPMWorkItemHistoryService.getWorkItemHistory operation.
work-item-id Number ID of the work item for which the audit trail should be displayed.
template-path String (Optional) Relative pathname of a custom template file to use in place of the internal template.

Example

The <bpm-work-item-history> business component is used:

  • on the WORK LIST tab of the Component Showcase application, when a work item is selected and you click the H (History) 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 H (History) button in the right-hand pane.

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