Hello @Nandan Hegde ,
Thanks for the question and using MS Q&A platform.
In mapping data flow, you will have to concatenate in order to form a request body using dataflow parameters.
Please try concatenating the request body as below and it should help achieve your requirement:
'{"queries": [{"query":' + $df_param_requestBody + '}],"serializerSettings": {"includeNulls": true}}'
Please note I have tested the expression in derived column so that I can be able to see what request body is being generated after the expression has been evaluated at runtime. (Nothing but similar to our set variable activity to play around with dynamic expressions ;) ). But it should be same behavior with Request body expression builder as well.
Hope this helps. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how