Okay found it :)
With that it's working for me for the Enum:
But for the Boolean Attribute i didn't found a solution
I think you could use the toString expression for the Boolean.
Example: toString($booleanattribute) should return either a 'true' or 'false' as a string.
Hope this helps!