[rules-users] Seting up test scenarios for Excel Decision Table with a map of data coming in

Wolfgang Laun wolfgang.laun at gmail.com
Thu Feb 6 05:12:50 EST 2014


On 06/02/2014, abhinay_agarwal <abhinay_agarwal at infosys.com> wrote:
> Hi Laune,
>
> When you say "/If you can insert data for the declared incomingData and
> make
> a rule
> fire for each fact, the consequence could create the map from the
> fields of the incomingData fact and insert it/"
>
> I don't understand, how will the map be created automatically. Can you give
> an example or  sscce <http://sscce.org>

I did not write "automatically". - In a single rule firing for each
incomingData, let the RHS code create a map, put the incomingData
object's  fields as map elements  and insert the map.

-W


>
> - AA
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Seting-up-test-scenarios-for-Excel-Decision-Table-with-a-map-of-data-coming-in-tp4027995p4028005.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list