Generating and Deploying the Decision Table’s Class File

In TIBCO BusinessEvents WebStudio, using the BuildAndDeploy status menu option in the Worklist window you can generate the class file and hot deploy the decision table.

Note: You can generate one decision table’s class file using TIBCO BusinessEvents WebStudio only.

Prerequisites

  • For generation of class file and hot deployment of a decision table, you must have a generated EAR for the project. See Generating the Project EAR or All Project Class Files for more details.
    Warning: If you have created/modified the decision table for the first time and did not generated the EAR files before creating/modifying decision tables, then you receive error while generating the deployables:
    EAR for projects: <project_name> either not present or not in sync at deploy location.
  • Ensure that JMX connection details for the environments where you must deploy are configured for the projects in the hot deploy properties group in the RMS.cdd file. See Hot Deploy Property Group Reference for more details on the hot deploy properties. Using these properties you can deploy multiple projects in a single environment or a single project in multiple environments.
  • You can generate the class file and hot deploy a decision table only after it is approved. See Working with the Worklist Items on how to approve a committed request.
  • For hot deployment of the decision table, ensure that the project's CDD file (for which the decision table is hot deployed) have the be.engine.cluster.externalClasses.path property under the appropriate processing unit, for example default. The property points to the location where artifacts are generated and also identified by the RMS property ws.artifact.deploy.location (see Common Property Group for more details on the property). For example, the decision table class file for the CreditCardApplication project is stored at BE_HOME\rms\shared\CreditCardApplication.

Procedure

  1. Open the worklist window using any of the following methods:
    • Click WebStudio, with the down pointing triangle in front of it, and select RMS > Show Worklist.
    • Right-click any artifact and select RMS > Show Worklist.
    • Click the Show Worklist icon in the RMS toolbar.

      The worklist window displays all the requests submitted for approval as well as approved requests.

  2. To view the approved decision tables, click the triangle in front of the Revision ID. To examine the decision table before taking an action, double-click the table.
    The decision table displays in the editor.
  3. To generate classes and hot deploy the decision table, click the Approved status under the Status column, and select BuildAndDeploy from the status drop-down menu.
    WebStudio performs auto-validation of the artifact to ensure that the update does not affect the runtime execution.
    A message field displays error messages in the event of a problem.
  4. To start generating classes click anywhere outside the drop-down menu and click Ok.