Skip to main content
Solved

JSON node list and value error

  • February 22, 2023
  • 4 replies
  • 388 views

Forum|alt.badge.img+3

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":[{"tag_name":"First Name","extracted_text":"Max","parsed_value":"Max","offset_span":[0,2]},{"tag_name":"Last Name","extracted_text":"Dal Prato","parsed_value":"Dal Prato","offset_span":[4,12]}]}]

 

My JSON Action:

 

Any help is appreciated!

Best answer by ChanduMohammad

Hi @max.dalprato 

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

 

View original
Did this topic help answer your question?

4 replies

Forum|alt.badge.img+19
  • Most Valuable Pathfinder
  • 2707 replies
  • Answer
  • February 22, 2023

Hi @max.dalprato 

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

 


Forum|alt.badge.img+3
  • Author
  • Cadet | Tier 2
  • 6 replies
  • February 22, 2023

Hi @ChanduMohammad that works thanks! 

 

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


rbkadiyam
Premier Pathfinder | Tier 7
Forum|alt.badge.img+17
  • Premier Pathfinder | Tier 7
  • 590 replies
  • February 22, 2023

Forum|alt.badge.img+1
  • Cadet | Tier 2
  • 2 replies
  • March 8, 2023
ChanduMohammad wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings