In working a collection/gallery, I need to be able to set a variable if an item is deleted but the collection still has a blank row. (InfoPath style repeating table)
Scenario: Warning is displayed if there is a blank row before the user can move to the next screen. This is to prevent blank rows from being patched to SharePoint.
When a record, populated or the blank row, is removed from the collection (Remove.ThisItem), the collection needs to be evaluated to determine if there is still a blank row and set the variable accordingly. This way if a populated record has been removed the blank row warning is still visible, but if the blank row has been deleted, then the warning is no longer visible.
I have tried all of these and none evaluate correctly. All set the variable to 'false' regardless if there is an empty row in the collection.