Unable to set boolean for enum in microflow

0
I have an enum  field called Visible, which if yes should show 4 other fields and if no, should hide them. For this check i created a boolean variable,visibilitycheck. In the on change microflow when i try to set the boolean variable(in change object) to the enum value, i.e. Member: VisibilityCheck Set value : Domain.Enum_Visible.Yes It throws error microflow is of type enum. should be of type boolean. How can i then set the boolean value?
asked
1 answers
0

Hi Pragya try this,

if($Object/Visible = Domain.ENUM_Visible.Yes) then
true
else
false

answered