[rules-users] Drools Flow: Validation Chain Approach

tolitius webakaunt at gmail.com
Tue Jun 1 11:40:11 EDT 2010


Hey Drools Flow Crowd,

   Would appreciate your thoughts on:

               Validation One Node
                            ||
                            \/
               Validation Two Node
                            ||
                            \/
               Validation Three Node
                            ||
                            \/
               Validation Four Node
                            ...
                            ...

    If any errors are found at any validation node, the process should
terminate with proper logging, etc..

    What would be your approach of a clean way to do it in order to avoid
cluttering the process definition with a splitter after individual
"Validation XYZ Node":

               Validation One Node
                            ||
                            \/
                       SPLITTER => Finalize => End ( or Fault node, which is
as dirty )
                            ||
                            \/
               Validation Two Node
                            ||
                            \/
                       SPLITTER => Finalize => End
                            ||
                            \/
               Validation Three Node
                            ||
                            \/
                       SPLITTER => Finalize => End
                            ||
                            \/
               Validation Four Node
                            ...
                            ...

Thanks for your input,
/Anatoly
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Validation-Chain-Approach-tp861911p861911.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list