mbpm-case-types

The <mbpm-case-types> business component displays the available case types for a specified case model.

The <mbpm-case-types> business component calls the CaseManagementService.listCaseTypes operation. This operation calls the CaseManagementModel.caseTypes object.

To customize the contents of the <mbpm-case-types> business component, see Customizing a Business Component.

Usage

<mbpm-case-types
   case-model="object"
   on-click-case-type=functionReference
   [config=object]
   [template-path="string"]>
</mbpm-case-types>

Attributes

Name Type Description
case-model CaseModelBasicInfoType object

The <mbpm-case-types> business component displays the case types for this case model.

To obtain the information to populate the CaseModelBasicInfoType object, use the GlobaldataAdminService.getCaseModelBasicInfo method from the objectAPI.

on-click-case-type Function reference Defines the actions to perform when the user selects one of the case types.
config Object (Optional) The configuration object that allows the parent controller to refresh the view.
template-path String (Optional) The relative pathname for a custom template file to use in place of the internal template.

Example

The Mobile Case Manager application uses the <mbpm-case-types> business component for the Case Types window.

Note: The Mobile Case Manager application uses the MobileCaseManager.config.json file to configure the CaseModelBasicInfoType object with details of a case model that is available on the ActiveMatrix BPM system. To edit MobileCaseManager.config.json, see Configure the Mobile Case Manager Application.