Saving Editable Grid Data into multiple variables


Good day,

Setup: Bonita BPM Community Edition ver 6.2.1

I'm currently working on a process which computes for annual compensation based on monthly incentives.

I have created a pageflow which uses an editable grid. The grid uses 12 columns and 2 rows only. The first row is used as the horizontal header containing the months ofthe year (Jan, Feb, Mar, ..., November, December). The second row is where the data will be entered by the user.

I have created "monthly_incentive" as a variable of type List (java.util.List). And created 12 other variables for the months.

I'm able to save the editable grid row into "monthly_incentive". Displaying the value of "monthly_incentive" in another form shows [10000, 12000, 11000, 9000, 5000, 25000, 1000, 3000, 6500, 6750, 8450, 12000]. Is there a way to parse this data so that I can save the values into separate variables for the months?

Thank you.

1 answer

This one is the BEST answer!

Hi Alfred

Hope above link may help you to diagnose your problem.

Have a blessed day.



Submitted by alfred.ayson on Fri, 02/07/2014 - 02:06

Hi Allessandro,

Thank you for your answer.