Skip to main content

Hi,

 

I am having trouble with the JSON Package. I have POST method which is reading first names and last names from a text and responses back to AA360 as a JSON.

 

When I try to get a node value or node list I get an error.

 

 

For some reason my returned JSON looks like so: (I doubt my error message has anything to do with this layout?)

>{"text":"Max Dal Prato","external_id":null,"error":false,"extractions":n{"tag_name":"First Name","extracted_text":"Max","parsed_value":"Max","offset_span":a0,2]},{"tag_name":"Last Name","extracted_text":"Dal Prato","parsed_value":"Dal Prato","offset_span":a4,12]}]}]

 

My JSON Action:

 

Any help is appreciated!

Hi @max.dalprato 

Update JSON: Get node list as below and give a try,

 


Hi @ChanduMohammad that works thanks! 

 

Do you mind explaining why you have to do it like so?


@max.dalprato  please check this video 

https://www.google.com/search?q=automation+anywhere+json+read+node&rlz=1C1GCEA_enUS961US961&oq=automation+anywhere+json+read+node&aqs=chrome..69i57j33i160l2j33i22i29i30i625.8106j0j7&sourceid=chrome&ie=UTF-8#fpstate=ive&vld=cid:5f165def,vid:yuprk1DyFvI


Hi @max.dalprato 

Update JSON: Get node list as below and give a try,

 

This answered what had taken me until now over 48 hours messing around trying to work out! 
Thank you!

 

Surely Automation Anywhere, you must have some kind of cheat sheet with all these kinds of tips and tricks?


Reply