Skip to main content
Inspiring
October 28, 2021
Solved

How to add multiple rows from the Editable grid to store in the table.

Hi,

How can we save the values to the database when a n-number of rows are added to editable grid.

I have table(table1):

Now I have each row values saved to the rule input.

In the process model, when I write to a database only a single row is added. What can I do to add all the rows.

3 replies

stefanhelzle0001
Brainy
October 28, 2021

You need to make sure that all involved variables and assignments are arrays.

- Rule Input

- Process Variable

- AC Variable in the database node

Inspiring
October 28, 2021

how can I know the Process variable are in array

In the rule input I have checked array(multiple values)

but how can I do in process model.

As I'm able to add only the row of editable grid to the database.