>Wouter, there is an error in our "guess" activity graph. If the answer
>to a question is "yes", the graph immediately goes to "I win". Imagine
>however that the user answers "yes" to "Does it swim?". The system must
>ask "Is it a fish?" and if the user answers "yes", then the system must
>say "I win".
>
>We need a second fork in the flow but I don't know how to add it. Could
>you have a look?
>

when you say you don't know how to add it, do you mean from a technical 'bpm4struts' 
POV, or you don't know how to model it appropriately in UML ? (I ask the question 
because I want to anticipate user problems and reduce the learning curve)


I have been playing a little with the UML model, but I am wondering about something in 
the business layer, I would need an answer on at least one of these questions:

1) when you prompt the user with a question, is the system aware of the type of 
question (really guessing the animal, or asking a differentiator question) ?

2) is the following logic correct ?

a. the system tries to guess the animal
b. when correctly guessing the animal the system wins
c. in case of failure the system asks a differentiator question
d. if there is no such question, the user wins
e. if the user answers 'yes' to the question we go back to (a)
f. if the user answers 'no' to the question we go back to (c)

in this case I have a solution, but I would need to know one more thing: when the 
system fetches the next decision item, can it be both an 'animal guess' and 'diff 
question' ? because I think it is not clear from the diagram, maybe we could introduce 
the notion of 'getNextAnimalQuestion()' and 'getNextDifferentiatorQuestion()' ?

In this case it would be clear only diff. questions can exhaust (each diff question is 
backed by at least one animal) so the condition currently implemented as 
'nextDecisionItemAvailable()' would map onto the diff. questions.

can you let me know ?
thanks.

Wouter.





__________________________________________________________________
Introducing the New Netscape Internet Service. 
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need. 

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to