Skip to main content
Solved

Document Extraction: Update document data not updating JSON value in DA

  • April 29, 2025
  • 2 replies
  • 49 views

Forum|alt.badge.img+2

Hello,

I am using DA to extract data from pdf.

I am trying to update the value of the extracted data using Document Extraction: Update document data activity .

using JSON package I am able to update the value of the JSON node however there is no option to pass updated JSON to the Document Extraction: Update document data action. 


 

 

Best answer by Aaron.Gleason

You updated your JSON with the JSON: Update node value, then immediately threw away your changes with the JSON: End session. (This is a common mistake.)

Before the End session, add a JSON: Get node value. The JSON node key or path is $$ and save the updated JSON to a string variable.

You can then use that string variable to update the information in the Document Extraction: Update document data action.

2 replies

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • Answer
  • April 29, 2025

You updated your JSON with the JSON: Update node value, then immediately threw away your changes with the JSON: End session. (This is a common mistake.)

Before the End session, add a JSON: Get node value. The JSON node key or path is $$ and save the updated JSON to a string variable.

You can then use that string variable to update the information in the Document Extraction: Update document data action.


Forum|alt.badge.img+2
  • Author
  • Cadet | Tier 2
  • April 29, 2025

Thank you ​@Aaron.Gleason , it worked.