So, I have an interface that depending on the values it could have 2, 3 or more outputs, but it´s not fixed, could be 50. How can I create just as needed rule input to save info for the process? Example I bought 3 objects, then i have to put the info for all the 3 objects and write them in a datastore
Discussion posts and replies are publicly visible
The outputs are of the same type? If so, why don't you create a rule input that is an array of said type?
Yes, that´s what i´m trying now. I´m trying to write each item from my array to a database, i hope it´s not very difficult. Thanks!
Should be straightforward - just make sure in the Write to Data Store Entity smart service, the 'multiple' checkbox is checked when you select your array variable, so that all elements of the array are written into the database.