Iterate through JSON with UIpath

I have this JSON:
JSON.txt (18.5 KB)
I am iterating through the asset types: but in UiPath it only reads till asset ID: 17 and not any further. What am I doing wrong here:

Hi @chauhan.rachita30

Could you please share your sample code here?

Looks the property alignment for 18th node is different from 17th yeah its should not interrupt since you are only considering Asset Type and ID. Any way to make more clarify need the sample code base.

Thank you.

I need to check that if it contains the key: isEmpty too.

Please send the JSON code alone. Getting activity missing error


Thank you.

Test_VOD_VOL_VOM_SanityChecks.xaml (19.2 KB)

Hi @chauhan.rachita30

Here is the solution.

Note: For Asset: 19,20,21 there no Asset Type node found.

Test_VOD_VOL_VOM_SanityChecks (1).xaml (22.1 KB)

Hope this will solve your issue.

Kindly check/test the given solution and close the topic by marking the solving post as ‘solution’. It will useful for others as well.

Thank you.

1 Like