Guvnor's screens to define a declarative Fact Model simply generate DRL.<br><br>Guvnor isn't as dynamic as the use-case you describe and hence we don't have the same issues.<br><br>The API is what has already been discussed: create a DRL, use KnowledgeBuilder or KnowledgeAgent to load these resources into your application.<br>
<br>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.<br><br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">
On 6 December 2011 06:28, srinivasasanda <span dir="ltr"><<a href="mailto:srinivasasanda@gmail.com">srinivasasanda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi David,<br>
<br>
Let me explain our requirement in a better picture through the<br>
images.Image1: <a href="http://drools.46999.n3.nabble.com/file/n3563593/Capture.png" target="_blank">http://drools.46999.n3.nabble.com/file/n3563593/Capture.png</a><br>
<br>
Now,My requirement is to add new field.For this,as shown in the below<br>
image Image2:<br>
<a href="http://drools.46999.n3.nabble.com/file/n3563593/Capture11.png" target="_blank">http://drools.46999.n3.nabble.com/file/n3563593/Capture11.png</a> I would add<br>
the field by "Add Field" option located in that respective model(as shown in<br>
the Image2).<br>
<br>
Our requirement is to add these fields using our Application front end into<br>
the Drools Engine. We are looking for some APIs exposed by Drools to create<br>
these facts from Portal Application.<br>
<br>
I thank you for advising me and giving suggestions so far.<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Dynamic-Fact-field-Generation-in-Declarative-Model-tp3545088p3563593.html" target="_blank">http://drools.46999.n3.nabble.com/Dynamic-Fact-field-Generation-in-Declarative-Model-tp3545088p3563593.html</a><br>
</font></span><div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>