Quantcast
Channel: SCN : Popular Discussions - SAP Business Rules Management
Viewing all articles
Browse latest Browse all 1717

Reusing Variables in a search tree

$
0
0

Hi,

 

 

 

I am modeling some rules by using a search tree, and I am facing an issue to reuse variables for which a value was already determine in a different section of the tree (lets say a sub-node, I want to avoid the reprocessing of the Procedure call for performance reasons):

 

 

 

   Condition1

 

 

 

          Condition 2 -> Value Range which call a Procedure call to determine if the value of a parameter is equal to A, this is saved in variable X.

 

 

 

               Condition 3

 

 

 

                    Condition 4 - Result A

 

 

 

                    Condition 5 - Result B

 

 

 

               Condition 6 -> Compares the value of the parameter determined in condition 2, however variable X is empty, the value populated in condition 2 is lost

 

 

 

                    Condition 7 - Result C

 

 

 

          Condition 8 ->  Result D

 

 

What should I do to keep the value determined in condition 2 during the rest of the processing of the tree?

 

 

 

By the way, in the ruleset I didn't define any expression to Initialize the Variables, because the value of the variable shouldn't be determined before processing the search tree.

 

 

 

Many thanks for your help.

 

 

 

Mario.


Viewing all articles
Browse latest Browse all 1717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>