Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8557

Re: Table In Table Out

$
0
0

Hi Surya,

 

I just implemented your scenario and I think I know where the problem is located:

 

The function has as context the list of the users (data object table) and as result object a table which consists of the colors:

Bild1.jpg

 

The assigned ruleset consist of one rule that changes the result data object after processing a loop expression

 

Bild2.jpg

The loop itself simply iterates over each entry in the user list and calls a decision table which has the setting "Return all matches found":

 

Bild3.jpg

The crucial point is here that the rule is defined as inserting into the result data object after processing the decision table. This leads to an append of the result values to the table.

 

You also have the option to change the table which will lead to an overwriting of the existing entries:

Bild4.jpg

In your case i guess you have the CHANGE of the result data object as in this case my function only delivers the values of the last iteration whereas the INSERT into the result data object delivers the result as you described and expected.

 

BR

Christian


Viewing all articles
Browse latest Browse all 8557

Latest Images

Trending Articles



Latest Images

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