简体   繁体   中英

How to pass input parameters to Liquid (Json) mapping ,this map will be used in Azure LogicApp

Generally in XSLT mapping we can pass input parameter like (eg; <xsl:param name="input:templateID "/>), Similarly is there any way that we can pass parameters for? .Liquid (Json) mapping? Please let me know if there is any such...

You can try adding/including the required parameter value into the source JSON using the Compose Action and then you can access that along with other parameters. Here are couple of reference of liquid template for JSON transform:

https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-liquid-transform

https://rokhri.com/logic-app-using-liquid-template-to-transform-json/

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