[rules-users] kbase.getFactType returning null even though I see it in Guvnor

Michael Anstis michael.anstis at gmail.com
Thu Sep 27 12:16:09 EDT 2012


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 at 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
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120927/134843f6/attachment.html 


More information about the rules-users mailing list