Configure the Case Management Application
The Case Management application requires the details of a case model that is available on the ActiveMatrix BPM system. Edit the caseMgtAppName.config.json file to add this information.
caseMgtAppName is the application name. For the Case Management application this is CaseManagement. For a clone of the Case Management application it is the name chosen for the cloned application.
When the Case Management application opens, the index.html file calls the <bpm-case-types> business component to display the available case types for the current case model. The caseMgtAppName.config.json file defines the current model.
This file contains the JSON definition for the default selectedCaseModel object. For information about this object, see CaseModelBasicInfoType.
{ "selectedCaseModel":{"caseModelID":"1","appName":"com.example.customer-1","majorVersion":"1"} }
Prerequisites
There are three alternatives to obtain the required information for the case model from the ActiveMatrix BPM system:
- From the ActiveMatrix BPM web service API, use the getCaseModelBasicInfo operation, from the BusinessDataServicesAdminService.
- From the objectAPI, use the GlobaldataAdminService.getCaseModelBasicInfo method.
- From Openspace, use the DATA ADMIN pane. For example: