mbpm-case-actions

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

The <mbpm-case-actions> business component calls the CaseManagementService.listCaseActions operation. This operation calls the CaseManagementModel.caseActions object.

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

Usage

<mbpm-case-actions
   case-ref="string" |  case-actions-array="array"
   [template-path="string"]>
</mbpm-case-actions>

Attributes

Name Type Description
case-ref String The <mbpm-case-actions> business component displays the case actions for this case reference.
case-actions-array Array

A previously populated CaseManagementModel.caseActions object that contains the case actions to display.

Note: The use of this attribute does not call the CaseManagementService.listCaseActions operation.
template-path String (Optional) The relative pathname for a custom template file to use in place of the internal template.
Note: case-ref and case-actions-array are mutually exclusive.

User Interaction

The default component template displays the case actions as a horizontal set of buttons. Each button contains the name of the case action. If there are more case actions than will fit in the available display space, the user can swipe sideways to access the additional case actions.

When a user clicks a button, the case action starts and the window opens the applicable form. The user must Submit or Cancel the form. The <mbpm-case-actions> business component disables the case action buttons until the user clicks Submit or Cancel.

Example

The Mobile Case Manager application uses the <mbpm-case-actions> business component as part of the Data window, which also uses the <mbpm-case-data> and <mbpm-case-states> business components. The Data window opens when the user clicks on an available Case, or clicks the Data button, which is one of the five navigation buttons on the bottom bar.