Custom Select / Deselect All buttons

0
I want to make custom select and deselect buttons that will select all the items in a list.    I am using a boolean attribute and when the user clicks on several checkboxes and clicks on the button a microflow runs. In this microflows I retrieve all the objects in that list from the database and iterate through them to change the value to true or false accordingly.    My problem is with the deselect button the microflow runs and I can see that the value changed to false but the checkbox remains ticked.    How can I change this behavior? 
asked
2 answers
0

Hi Enzel,

Did you enable refresh in client when changing the value in the microflow? If not try enabling that and check once.

answered
0

Can you retrieve by association rather than from the database?  Objects retrieved by association are the in-memory version of the object, whereas retrieving from the database will retrieve the last committed version of the object.  If you have uncommitted changes then I’ve found this can cause what you’re seeing.

 

 

answered