I have to read data from an XML and load it to SQL. So in middle I need to add some business logic for each record for which I used for each task in Logic Apps. But when there i
For this issue, I did some research. I convert the xml to json, while there is only one record under , the result json will be {key/value pair} but not [array]. So if we fill in For each with this value, the action will fail. I think this issue caused by design.
For a workaround, I think we can add a specific record under , for example:
CMC741311
specific_test
And then add a condition(If) action in For each action to determine if it is equal to "specific_test".
If true: do insert sql
If false: do nothing