Set only certain objects to have boolean true unique

0
Only one object in the list of A entities in the database must have a true property. Is there a best practice?
asked
1 answers
0

Hi Kim,

Create boolean attribute in entity and keep default value as false.

 

Now in saving microflow check if any object in list has that boolean as true if yes and donot change current object boolean.

if no then check current object is that unique one in which you want to set this boolean if yes then  go ahead and set it to true.

answered