I'm attempting to parse the json data from sql on-prem result set (parse json vs compose?) and I seem to be having issues.
Currently Flow executes stored procedure (SQL On Prem)
I can see the resultset in the body of the output (field "sample1": "sampleval")
I'd like to append value sample1 to variable. I'm thinking a custom expression makes the most sense, just not sure of where to begin.
Solved! Go to Solution.
Parse JSON is your friend here. Then you can reference the fields directly and then use the compose to do your data parsing (like the append you mention in your email).
I don't know the details of your setup, but try the following workflow:
To concat:
concat(variables('test'),body('Parse_JSON')?['sample1'])
I think with this you would be able to solve your issue. Please let me know if you need more help.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel
Hi @KUNGFUPANDA559 ,
Could you please share a screenshot of the configuration of your flow?
Could you please share the run history of the flow?
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Parse JSON is your friend here. Then you can reference the fields directly and then use the compose to do your data parsing (like the append you mention in your email).
I don't know the details of your setup, but try the following workflow:
To concat:
concat(variables('test'),body('Parse_JSON')?['sample1'])
I think with this you would be able to solve your issue. Please let me know if you need more help.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel