Although not an expert on Flow, I can say that there can hardly be anything fundamentally wrong with this brief Flow, where a simpler solution might be equally possible. Much depends on other circumstances, e.g., possible future developments, deployment, workload,...<br>
<br>-W<br><br><br><div class="gmail_quote">On 27 May 2011 14:18, sdinoo <span dir="ltr">&lt;<a href="mailto:sdinoo@gmail.com">sdinoo@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;">
Awesome! This worked<br>
Thank you very much Wolfgang!!<br>
<br>
Though, I have a architectural question<br>
My use case is in &quot;claims processing&quot; and here are the steps that need to<br>
happen<br>
1) Recieve patients claim (prescription claim, like medicines)<br>
2) Retrieve the patients Claim History (use patient ID in claim)<br>
3) Retrieve the drug information (use RxID in claim)<br>
4) Subject the claim to the rules in drools<br>
5) Respond with rule results (show the contributing claims that caused the<br>
rules to fire)<br>
<br>
for this ,<br>
I created a Rule flow<br>
Step 2) and 3) are rule tasks that ONLY fetch information<br>
Step 4) I want to write the rules (mix of java helper classes and drl) and<br>
subject the claim to that<br>
Step 5) return the results (via the List option that you just gave me)<br>
<br>
Is this the way people use the Rule Flow?<br>
Do you see anyting fundamentally wrong here?<br>
Do you think I should you Stateless sessions instead of rule flow?<br>
<br>
Do let me know<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Accessing-globals-after-FireAllRules-tp2989144p2992639.html" target="_blank">http://drools.46999.n3.nabble.com/Accessing-globals-after-FireAllRules-tp2989144p2992639.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools: User forum 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>
</div></div></blockquote></div><br>