Hi
I am trying to create a note record with an attachment in CDS. Document attribute in CDS connector accepts base64 encoded string.
When I create a Flow from CDS solution and save it, I get the following problem with base64 expression.
I did the same thing outside of the solution without any issue.
How do I solve this issue?

Flow error when it is created via CDS solution
FYI
When I looked the code view, they are different, especially parameters and method. I noticed curly brackets { } are missing at document body in a Flow created inside CDS solution.

Code from Flow created in the solution

Code from Flow created outside of the solution