Skip to main content
Solved

DA: Can you force a document to go into validation?

  • October 9, 2025
  • 8 replies
  • 125 views

Uzumaki
Forum|alt.badge.img+12

I have a file that is being extracted incorrectly. It is grabbing the wrong data for a particular field.

If I pass it through the document extractor it goes to “Success” because it assumes that everything was extracted correctly. Can I force a document to go into validation so that I can map the correct field?

Best answer by Padmakumar

Hi ​@Uzumaki,

 

The simple way is to add a field that is not present in the document and mention it as mandatory. Or you can add any optional field value or table value as mandatory on a temporary basis in order to make your extraction go into the validation stage.

 

 

8 replies

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • October 9, 2025

@Uzumaki One way to do this is to temporarily modify the Process generated by your learning instance. Go to Automation > Document Workspace Processes > {your learning instance name}, then open the Process with {your learning instance name}.

Temporarily change step 3 in the Process to “Not Equal To”.

Now, the logic for validation is backwards. Documents that should pass will go to validation; documents needing validation will pass. Use this only for testing and remember to set it back to “Equal to” when you’re done.


Uzumaki
Forum|alt.badge.img+12
  • Author
  • Navigator | Tier 3
  • October 9, 2025

@Uzumaki One way to do this is to temporarily modify the Process generated by your learning instance. Go to Automation > Document Workspace Processes > {your learning instance name}, then open the Process with {your learning instance name}.

Temporarily change step 3 in the Process to “Not Equal To”.

Now, the logic for validation is backwards. Documents that should pass will go to validation; documents needing validation will pass. Use this only for testing and remember to set it back to “Equal to” when you’re done.

Thank you Aaron, I will try this.
 


Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+15
  • Premier Pathfinder | Tier 7
  • Answer
  • October 10, 2025

Hi ​@Uzumaki,

 

The simple way is to add a field that is not present in the document and mention it as mandatory. Or you can add any optional field value or table value as mandatory on a temporary basis in order to make your extraction go into the validation stage.

 

 


Uzumaki
Forum|alt.badge.img+12
  • Author
  • Navigator | Tier 3
  • October 10, 2025

Hi ​@Uzumaki,

 

The simple way is to add a field that is not present in the document and mention it as mandatory. Or you can add any optional field value or table value as mandatory on a temporary basis in order to make your extraction go into the validation stage.

 

 

Good suggestion, I will try that too. Thanks


Shreya.Kumar
Pathfinder Community Team
Forum|alt.badge.img+14
  • Pathfinder Community Team
  • November 28, 2025

@Uzumaki did any of the approaches work? Do let us know!


Uzumaki
Forum|alt.badge.img+12
  • Author
  • Navigator | Tier 3
  • December 1, 2025

@Uzumaki did any of the approaches work? Do let us know!

Hi Shreya,

I have been using the solution provided by Padmakumar of creating fake fields to force the validation check.


Forum|alt.badge.img
  • Cadet | Tier 2
  • December 15, 2025

Hi ​@Uzumaki 

 

Another way to do this is by applying a temporary document or field rule. If you know what the field should (or shouldn’t) contain and it doesn’t match the criteria, you can set an error on that field so that it forces it into the validator. Once you are happy with the results you can just delete the rule.


Uzumaki
Forum|alt.badge.img+12
  • Author
  • Navigator | Tier 3
  • December 15, 2025

Hi ​@Uzumaki 

 

Another way to do this is by applying a temporary document or field rule. If you know what the field should (or shouldn’t) contain and it doesn’t match the criteria, you can set an error on that field so that it forces it into the validator. Once you are happy with the results you can just delete the rule.

Thanks for the advice, I will consider and try that as well.