Skip to main content
Question

How to update the Document Extraction Bot Output Status in a Post processing bot?

  • July 24, 2026
  • 1 reply
  • 8 views

In a Learning Instance process, I have added a post-processing bot that verifies the required fields extracted by the Learning Instance. If any of these required fields are blank, the bot retrieves the correct values from an external source of truth and updates the Document JSON accordingly.

After updating the Document JSON, how can I change the Document Extraction Bot Output Status from DW_EXTRACT_VALIDATION to DW_EXTRACT_SUCCESS so that the document does not get routed to the Validation queue? The process currently checks this status before deciding whether to send the document for validation.

Is it possible to update this status directly from the post-processing bot? If so, which Automation Anywhere action should be used, and what is the correct syntax or approach to update the status?

1 reply

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+6
  • Automation Anywhere Team
  • July 24, 2026

@Manik.Sharma31 Use the Document Extraction: Get document data to receive the JSON information for the specific document ID you’re working with.

You can then manipulate the JSON and use Document Extraction: Update document data.

Also, if you’re using the Process generated when you created your learning instance, you can modify the flow so that it never goes to validation. This does not prevent the document itself from being labeled as needing validation but it does prevent the validation screen from appearing.