In flow decision what should I enter to receive the following

Hi,
My http activity is providing the below as output:
{
“d”: {
“results”: [ ]
}
}
I want to throw an error when such a response has occurred, for which in the flow decision I was sending the following command:
String.Isnullorempty(outofhttp)

however, as you can see my output of http is not exactly null or empty so the flow decision sends it to true. But I want the flow to go to false.

Please let me know what command should I enter in flow decision.

deserialize the JSON e.g. with Deserialize JSON Activity - myJobject

grafik

Part1 - check that the results is not null
grafik

Check if there are array items or not
grafik

This works! Thanks a ton!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.