I have 6 different boolean in my entity. I created checkboxes for every one of them on a page. Then, I tried to make a validation microflow. I want to continue validation when 2 of these 6 checkboxes total are true. If all are false, or 1 or more of 2 are true, an error message should be returned. I tried using "count" to compare the number of true but it didn't work. How can I solve this? Thanks in advance.
there are different options for solving this.
You could for example build something like this as a validation microflow:
Hope this helps!
Count only works as object list operation, while you want to count attributes.
As far as I know, it isn't possible to count the true values of attributes in the same entity.
your booleans are answers on a question right? If this is not static, but a dynamic list of questions, I would convert a questions per attribute to an object per question. thus a question list. In that case its easy to filter the true answered questions and count that list.