I have dynamic editable grid , i use MNI to save the rows, however it saves all rows with the first row value.
Discussion posts and replies are publicly visible
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.
can you explain more, I'm new to Appian.
thank you.
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,
Multi node instances (MNI) means that you run one instance of a node per item of an array you selected,But its just not necessary to do so.Did you do all tutorials regarding writeToDatastoreEntity etc?
thank you very much
I have completed Appian developer course
still not working
If you want help on this you'll need to provide some detail about what "not working" actually means? Are you getting an error? If so, please provide the details.
If not then it's likely you have a mismatch between the cardinality of the data in your user interface and the data in your process model. In your process model have you made your process variable (that you're storing the output from your interface)_ as 'multiple' (i.e. an array)? If you don't it will always take the first item from the array you're passing from the user interface. The same applies to the definition of the data item configured in your Write to Datastore node. This also needs to be defined as an array (a 'multiple')
what kind of data inputs do you have?
all defined as multiple