I have a deleted Boolean flag that I set to “yes” so that I can delete these records later with a scheduled workflow.
The challenge I’m having is that the RG is still displaying these records even though I’ve added a constraint of Deleted = “no” to the do a search for records statement.
Hi there, @treb.gatte… you can definitely use a yes/no field to constrain the search of a repeating group’s data source. Just a shot in the dark here… any chance a privacy rule is getting in the way? Can you share some screenshots?
You know, sometimes you are your own worst enemy. Thank you all for giving me pointers on where to check.
It seems in a late night coding session, I replicated the code setting the data source and named it almost identically to the original step. I didn’t catch the one character name diff in the debugger. So, once I discovered it, I made the same filter update and now it works.
Fuuuuuuuuuuudge!
Of course fixing this uncovered a race condition, where my visual is rendering faster than the RG supplying it with data. I wish I didn’t have to chase down so many of these situations.
I’ll be spending the weekend doing a little refactoring of my data source code. Maybe I can package it all in a centralized custom event for easier maintenance.