I've created an order object with orderline objects associated to it and opened a dataview with a nested datagrid. I added two custom save & cancel buttons. I need to include a rollback activity in my cancel Microflow. However, how do I rollback the list with orderlines? Can I add a list to my rollback activity or do I need to use an iterator? Or is there another way?
You have to use an iterator to loop over your list. For each item you can call rollback.
Since 2.4.3 you can use the rollback Microflow activity to do the rollback.
In older release you need to create a custom Java action calling Core.rollback(id).