Vaibhav Jain
Vaibhav Jain

Reputation: 2407

IBM - ODM : Updating corresponding BOM when XOM is modified

I have a XOM (Java Execution Model) with several bean classes. I've created a Rule project where I've created BOM (Business Object Model) for each XOM.

Now I've made some changes in XOM/(Bean) class. For example : I've added a new parameter in class with getter and setter.

Question is: How to make these changes available directly to BOM? I already trying updating the BOM (Right Click on any model created under BOM)

enter image description here

It shows following error. Cannot update BOM Entry. This BOM entry cannot be updated because its origin is not recognized.

enter image description here

Requesting rule designers to help me out.

Upvotes: 2

Views: 1830

Answers (4)

Greg Hadaller
Greg Hadaller

Reputation: 164

I often have problems with the BOM origin when copying projects. This image shows the properties that are viewable by right-clicking on the BOM project. Select the appropriate BOM entry and the origin, then Edit. The syntax for specifying a BOM origin is:

xom:/myBomProject//myXomProject

Right-click on BOM project

Upvotes: 0

Jay
Jay

Reputation: 63

Go to your Rule project properties and remove XOM reference from Business Object Model and java execution object model then add it again. Once you are done with this if the error is not removed, close the project and open it again. This will work just fine.

Upvotes: 0

Mohammed Khaleel
Mohammed Khaleel

Reputation: 1

Please restart your rule designer. sometimes your build will not see the current reference updated in XOM. If you still face the problem check the variable name may be deprecated.

Thanks Khaleel

Upvotes: 0

Andi
Andi

Reputation: 1

you have to specify your data object in your project.

In your project properties you can define a "Dynamic Execution Object" and a "Java Execution Object Model". When you add them there you should be able to select them as a datasource for your BOM.

Upvotes: 0

Related Questions