In UI user can enter question, its options etc. which is of type “Question” entity. User can add multiple questions like this and I need to save at last only once. How can I have a local variable list of type “List of Question object” which will store the questions, so that on click of save I will loop over this list and save the objects. Can anyone please help me how can I have a List of objects
Mohammed Jaffer Ali N
Use a extra entity eg: ‘Form’ and associate it with ‘Question’ entity. Use Dataview as ‘Form’ and inside it ListView with datasource as ‘Question’ entity
In save microflow retrieve ‘Question’ List from ‘Form’ object by association.
You can loop over the List if you want to change or perform other actions on each question object. Else you can directly commit the list.