# Saving Editable Grid Data into multiple variables

**URL:** <https://community.ofelia.com/t/saving-editable-grid-data-into-multiple-variables/4174>\
**Category:** Q&A\
**Created:** [6 February 2014 01:27 UTC](https://community.ofelia.com/t/saving-editable-grid-data-into-multiple-variables/4174 "2014-02-06T01:27:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alfred.ayson](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@alfred.ayson](https://community.ofelia.com/u/alfred.ayson)\
**Post date:** [6 February 2014 01:27 UTC](https://community.ofelia.com/t/saving-editable-grid-data-into-multiple-variables/4174/1 "2014-02-06T01:27:23Z")

</div>

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.&nbsp; The first row is used as the horizontal header containing the months ofthe year (Jan, Feb, Mar, ..., November, December).&nbsp; 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_".&nbsp; Displaying the value of "monthly\_incentive" in another form shows [10000, 12000, 11000, 9000, 5000, 25000, 1000, 3000, 6500, 6750, 8450, 12000].&nbsp; Is there a way to parse this data so that I can save the values into separate variables for the months?

Thank you.

&nbsp;

---

<div class="post-metadata">

**Author:** ![box](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@box](https://community.ofelia.com/u/box)\
**Post date:** [6 February 2014 08:59 UTC](https://community.ofelia.com/t/saving-editable-grid-data-into-multiple-variables/4174/2 "2014-02-06T08:59:35Z")

</div>

Hi Alfred

http://priyankacool10.wordpress.com/2012/07/20/how-to-write-to-mysql-database-using-editable-grids-in-bonita-5-6/

Hope above link may help you to diagnose your problem.

Have a blessed day.

Alessandro

---

<div class="post-metadata">

**Author:** ![alfred.ayson](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@alfred.ayson](https://community.ofelia.com/u/alfred.ayson)\
**Post date:** [7 February 2014 01:06 UTC](https://community.ofelia.com/t/saving-editable-grid-data-into-multiple-variables/4174/3 "2014-02-07T01:06:59Z")

</div>

Hi Allessandro,

Thank you for your answer.

Regards,

Alfred
