简体   繁体   中英

How do you pass parameters to Azure Logic Apps Liquid Connector for JSON-JSON transformation?

I have a Liquid transformation step in my Azure Logic App, using the "Transform JSON to JSON" version of the Liquid connector. I need to pass some parameters into the transformation - these values will end up in the JSON output from the transformation.

Unfortunately, I can't find any documentation or examples on how you would pass such parameters into the Liquid map.

There's no way to specifically 'pass parameters' to a Liquid template because Liquid does not support that construct.

However, you can easily inject a Parameters object into the source JSON using the Compose Action. Then you access them like any other value.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM