Logic Apps - Dynamically retrieve function expression from file

florian de langhe 1 Reputation point
2020-10-06T10:21:03.277+00:00

Hi

I am trying to do the following.
I have a json file stored in blob.
This has the following input:

{
"EventType": "TCWC.2006#X12_00403_850.Processed",
"References": [
{
"Key": "id",
"Sequence": 1,
"Value": "@{xpath(xml(decodeBase64(body('GetPayload')['$content'])),'/[local-name()=\"X12_00403_850\"]/[local-name()=\"BEG\"]/*[local-name()=\"BEG03\"]/text()')}"
}
]
}

In my logic app I want to use the expression defined in 'value' to obtain the xpath value in my Logic App run.
However when I implement this, it seems like it is defined as a string and currently I see no options to run this as an expression in my logic app connector.
30381-microsoftteams-image.png

I expect the xpath value in my append variable.
I hope this is clear, if not feel free to ask for more information :)

  • Florian
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,854 questions
{count} votes