mbpm-comments

The <mbpm-comments> business component renders a user interface so that a user can add comments to a work item, process instance, or case. It also displays existing comments.

The <mbpm-comments> business component receives a data model that contains a work item ID, process instance ID, or case reference, that it uses to identify the type of entity. It then uses the applicable operation from the BPMCommentService to display the comments for this entity.

Usage

<mbpm-comments
   config="object"
   [template-path="string"]>
</mbpm-comments>

Attributes

Name Type Description
config Object The configuration object that allows the parent controller to refresh the view. It also includes a commentModel object that identifies a data model, that identifies a work item, process instance, or case. The <mbpm-comments> business component displays the comments for this entity.
template-path String (Optional) The relative pathname of a custom template file to use in place of the internal template

Example

The Mobile Case Manager application uses the <mbpm-comments> business component for the Case Comments button, which is one of the five navigation buttons on the bottom bar.