Either have a very wide and shallow flow structure where you set a variable indicating the
next node to be displayed, you then use a split and join nodes to loop round this
structure.
It's the equivalent of the following pseudo code:
1. displayNode = "first"
2. switch(displayNode)
3. case first:
Get answers
displayNode = "second";
break
4. case second:
Get answers
displayNode = "third";
break
5: case third:
Get answers
displayNode = "done";
break
6: case done:
Goto 10
Break
7: goto 2
10: finished.
Obviously if the users doesn't fill in the answers but instead picks a different point
display node would be updated separately.
You can also do a similar effect with just plain rules where you have an object which
determines the next rule to fire.
Thomas
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org [mailto:rules-users-
bounces(a)lists.jboss.org] On Behalf Of jawa
Sent: 20 August 2010 11:04
To: rules-users(a)lists.jboss.org
Subject: Re: [rules-users] Drools Flow - Replay
Any idea? Anyone?
--
View this message in context:
http://drools-java-rules-
engine.46999.n3.nabble.com/Drools-Flow-Replay-tp1203317p1240878.html
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
**************************************************************************************
This message is confidential and intended only for the addressee. If you have received
this message in error, please immediately notify the postmaster(a)nds.com and delete it from
your system as well as any copies. The content of e-mails as well as traffic data may be
monitored by NDS for employment and security purposes. To protect the environment please
do not print this e-mail unless necessary.
NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United
Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603
8808 40-00
**************************************************************************************