Hello @Varagani, Ramana ,
Thanks for the question and using MS Q&A platform.
If I understand correctly, you have a dynamics / dataverse source dataset, and are using the "Query" option. You have a fetchXML , but you want to parameterize it.
We can insert pipeline expression into the query as long as it takes the form @{expression}
. The curly braces indicate the start/end.
<filter>
<condition attribute="objecttypecodename" operator="eq" value="@entity"/>
</filter>
becomes (assuming your do not want a literal @
in the value)
<filter>
<condition attribute="objecttypecodename" operator="eq" value="@{variables('my_variable_name')}"/>
</filter>
Please do let me if you have any queries.
Thanks
Martin
- 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
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators