Skip to main content
Known Participant
Nov 10, 2021 10:14 AM UTC
Question

MNI

I have dynamic editable grid , i use MNI to save the rows, however it saves all rows with the first row value.

11 replies

stewart.burchell
Employee
Nov 10, 2021 10:17 AM UTC

You don't need to use an MNI to save all of the rows that you're passing from the User Interface to the Process Model, unless you're conducting some "post processing" on the data. The Write to DataStore smart service can take an array of items directly.

omarj0001Author
Known Participant
Nov 10, 2021 10:21 AM UTC

can you explain more, I'm new to Appian.

thank you.

stewart.burchell
Employee
Nov 10, 2021 10:24 AM UTC

I assume yoiu are using the Write to Datastore node in your process model to write the data to the database? If so, this uses the relevant datastore entity - which will be a CDT - to write the data. If your user interface is passing the data out of the user interface in that same CDT format into a process variable that is also of the same CDT type (which will have to be an array) you can use that directly in the Write to Datastore node,