With the following code snippet you can see how you can get the first next node. You only need to iterate and create a recursive method to find out the full path:<br><br> RuleFlowProcessInstance processInstance = (RuleFlowProcessInstance) ksession.startProcess(&quot;org.plugtree.XXX&quot;);<br>
<br>        NodeInstance node = processInstance.getNodeInstances().iterator().next();<br>        long id = node.getNodeId();<br>        NodeImpl nodeDef = (NodeImpl)((RuleFlowProcess)processInstance.getProcess()).getNode(id);<br>
        List&lt;Connection&gt; connections = nodeDef.getOutgoingConnections().get(0);<br>        Connection connection = connections.get(0);<br>        Node firstNodeAfterTheCurrentNodeInstance = connection.getTo();<br><br>
Greetings.<br><br><div class="gmail_quote">On Thu, Mar 25, 2010 at 8:47 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="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
suppose i have a rule flow which has a split node and before that split there<br>
is action node as below<br>
<br>
start --&gt; action1 --&gt; Split --&gt; ********** --&gt;END<br>
<br>
now if i want to find all transitions after split that can happen then is<br>
tere some api available<br>
<br>
if not please provide some workaround.........waiting eagerly for<br>
response.....<br>
<br>
thanks<br>
<br>
<br>
-----<br>
Keep Working &gt;&gt;:working:<br>
KiranP<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/how-can-we-find-next-nodes-from-current-node-in-rule-flow-tp519949p519949.html" target="_blank">http://n3.nabble.com/how-can-we-find-next-nodes-from-current-node-in-rule-flow-tp519949p519949.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><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>