Use the MDM Workbench to create a new development project for your rule engine
extension.
Procedure
-
From the MDM Development view of your MDM Workbench installation,
right-click in the Package Explorer window and select .
-
Give your project an appropriately descriptive name, and name your base Java package whatever
you would like.
For example, an addPerson validation rule project might be named
PersonAddValidationBE and the base Java package name might be
com.ibm.odm.
-
Click Next, then provide a name for the composite project bundle, such
as PersonAddValidation.cba.
-
Click Finish.
The panel shows an overview of your new development module.
-
Click on the Model tab, then right-click on the folder named for your
new development project and select .
-
Provide a descriptive name for your behavior extension, such as
PersonAddValidation and press tab to save the change.
-
Right-click on the new behavior extension, then select .
-
Name the new transaction event (such as PersonAdd), select
Pre, and then choose the transaction that you wish to add an event to (such
as Party > Core Party > addPerson).
-
Right-click on your new behavior extension and select . Provide an appropriate name, message, and error type.
-
Save your changes, then click on the Generate code link to populate your
project.
What to do next
The next step in creating your rule engine extension is to add dependencies to the project.