Guvnor's screens to define a declarative Fact Model simply generate DRL.
Guvnor isn't as dynamic as the use-case you describe and hence we don't have the same issues.
The API is what has already been discussed: create a DRL, use KnowledgeBuilder or KnowledgeAgent to load these resources into your application.
There is a private API in Guvnor used to transform its model into DRL. If this is what you seek please advise and I'll dig out some class names.
With kind regards,
Mike
Hi David,
Let me explain our requirement in a better picture through the
images.Image1: http://drools.46999.n3.nabble.com/file/n3563593/Capture.png
Now,My requirement is to add new field.For this,as shown in the below
image Image2:
http://drools.46999.n3.nabble.com/file/n3563593/Capture11.png I would add
the field by "Add Field" option located in that respective model(as shown in
the Image2).
Our requirement is to add these fields using our Application front end into
the Drools Engine. We are looking for some APIs exposed by Drools to create
these facts from Portal Application.
I thank you for advising me and giving suggestions so far.
Thanks
--
View this message in context: http://drools.46999.n3.nabble.com/Dynamic-Fact-field-Generation-in-Declarative-Model-tp3545088p3563593.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users