Hi Kiran<br><br>Thanks for your response.<br><br>Can you share how can I send the user response back to the workflow?<br><br clear="all">--<br>Regards<br>Aman<br>
<br><br><div class="gmail_quote">On Wed, Jun 23, 2010 at 9:51 AM, KiranP <span dir="ltr">&lt;<a href="mailto:phadatarekiran@gmail.com">phadatarekiran@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
hello aman,<br>
<br>
according to me using drools rule flow is the best option to go with...<br>
<br>
according to what i get from your specified problem is you want 2 things :<br>
<br>
1. u need to manage alternate flows using drools (i.e. leads request must go<br>
to manager etc.)<br>
<br>
            ANS : this is fairly simple and can be done using Drools Rule<br>
flow split node<br>
<br>
2. u need to dynamically generate the web form ( having various options like<br>
accept,reject,etc and comment field)<br>
<br>
           ANS : though drools is mostly not used to generate form but it<br>
can obviously provide you with list(ArrayList) of options depending on the<br>
outgoing nodes of split(i.e. u add a new outgoing node and it will come into<br>
list) this list then can be used on the form<br>
<br>
i have myself made a (java+drools+spring+jpa) project for leve application<br>
using the config above<br>
<br>
the following is my rule flow file have a look at it<br>
<br>
<a href="http://drools-java-rules-engine.46999.n3.nabble.com/file/n915957/leaveflow.jpg" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/file/n915957/leaveflow.jpg</a><br>
<br>
-----<br>
Keep Working &gt;&gt;<br>
KiranP<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/How-to-manage-roles-and-generate-web-forms-using-Drools-Flow-tp913725p915957.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/How-to-manage-roles-and-generate-web-forms-using-Drools-Flow-tp913725p915957.html</a><br>


Sent from the Drools - User 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>
</font></blockquote></div><br>