Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the correct syntax for the Queries parameter in the Logic Apps Function connector?

I have an azure function that calculates additional output if you include a query parameter in it's url. I would like to use this function in a logic app, but I am getting an error trying to use the Queries parameter of the azure function connector to set the query parameter.

Unable to process template language expressions in action 'JoinJsonArrays' inputs at line '1' and column '1997': 'Error converting value "calculateMergeHint=true" to type 'Microsoft.Azure.Flow.Data.Operations.QueryStringDictionary'. Path 'queries'.'

The Queries parameter is defined as follows:

calculateMergeHint=true

like image 937
John Atwood Avatar asked Dec 27 '17 14:12

John Atwood


People also ask

How do I use the function app in logic app?

Add existing functions to logic app workflowsIn the Azure portal, open your Consumption logic app workflow in the designer. Under the step where you want to add the function, select New step. From the function apps list, select your function app. After the functions list appears, select your function.

What is a logic app connector?

When you build workflows using Azure Logic Apps, you can use connectors to help you quickly and easily access data, events, and resources in other apps, services, systems, protocols, and platforms - often without writing any code. A connector provides prebuilt operations that you can use as steps in your workflows.


1 Answers

It turns out that the correct syntax is a JSON object.

{"calculateMergeHint": "true"}

like image 174
John Atwood Avatar answered Sep 23 '22 16:09

John Atwood