Creating and Deploying a Case Data Model

Before you can use case data in a business process, you must create a model of that data and deploy it as a separate application.

Procedure

  1. In TIBCO Business Studio, click File > New Business Data project.
  2. In the New Business Data Project wizard:
    1. Enter a suitable Project name.
    2. Set the project's Version number.
    3. In Destination Environments, click BPM.
    4. Click Finish.
    A new project is created, containing an empty BOM.
  3. Model your case data as required.
  4. Use your preferred application deployment method to deploy the Business Data project.
  5. In ActiveMatrix Administrator, verify that the new business data application is Running and In Sync.
  6. Using the Openspace Data Admin gadget, verify that the new case model is in the expected state:
    • INSTALLED, indicating that the required case data tables have been automatically created by ActiveMatrix BPM.
    • PENDING_DBA_ACTION_TO_INSTALL, indicating that a DBA will need to obtain and manually run the script to create the case data tables, then notify the BPM runtime that this has been done. See "Retrieving CREATE Case Data Database Scripts" in the TIBCO Openspace User's Guide for more information about how to do this.

Result

If the model is in the INSTALLED state, you can now use it in business processes, by referencing the defined case classes to create, read, update, delete and search for case objects. See Using a Case Data Model in a Business Process.