I assume you're adding the newly built package (in Guvnor, including the BillRate declared type) to your KnowledgeBase?

On 27 September 2012 17:07, richard <rx74me@yahoo.com> wrote:
I am using the mortgage example in Guvnor and I added a factType to the model
called BillRate.

I am getting a null back on this:

FactType billrateType = kbase.getFactType("mortgages", "BillRate");

The original types in that are predefined work such as Bankruptcy,
Applicant, etc.

I rebuilt the package and replaced it on the server.

Is there something else I need to set in Guvnor?

View this message in context: http://drools.46999.n3.nabble.com/kbase-getFactType-returning-null-even-though-I-see-it-in-Guvnor-tp4020018.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
rules-users mailing list