Hi all,
I am getting the below issue after the pdfs move to completed tab in Actions center,
Can I please know how to resolve this.
Thanks in advance
Hi all,
I am getting the below issue after the pdfs move to completed tab in Actions center,
Can I please know how to resolve this.
Thanks in advance
Hi @sushmitha.e ,
As you are already Debugging, Could you check the values of the variables used within the activity in the Immediate Panel , I believe the value of some/more variables are empty/null and that is the reason you are receiving the error.
For more on analysis using Debug, Check below :
It means one of the variables you have provided is not initialized. Have you loaded the taxonomy? Have you digitized the document into strDocumentText and doc? Have you auto-classified the document into AutomationExtraction?
Thanks for replying @postwick . I have loaded the taxonomy and digitized into strDocumentText and doc.
Can you elaborate this point : Have you auto-classified the document into AutomationExtraction?
In addition to loading the taxonomy and digitizing, you also have to classify:
https://docs.uipath.com/activities/other/latest/document-understanding/classify-document-scope
The output of this would be your AutomationExtraction variable that you have in the “Automatic Extraction Results” of your validation action.
Wait, have you actually created a Document Validation action? You have to create it with Create Document Validation Action (and output it as ActionOutput) before you can wait for it.
Did you click Manage Learning then Save, and Configure Classifiers then save? You don’t have to do anything in those windows, just click each one of them then click save.
Yes, we have done clicking the save buttons.
Well you’ll have to figure out which of those variables provided to your Wait for Document Validation Action activity is not initialized. Right-click the activity and add a breakpoint. Run in Debug mode. When it stops on that activity look at each of those variables in the panel on the left and see which don’t have a value.
We already did suggest the Checking with Debug Panel, a Guide is also provided within the previous post
We can provide you the next suggestions on the basis of what variables are empty, or you should be able to understand the point of error and should be able to trace it back yourself.
DU.zip (39.4 KB)
Hi @postwick , we have checked all the variables and they are initialised and when we run in debug mode, getting the same error at wait for document validation activity.
I have attached the code, could you pls check and let me know if any changes to do.
Thanks.
You understand that initialized doesn’t just mean they exist, right? For example, just creating a datatable variable doesn’t initialize it, you have to use New System.Data.Datatable to initialize it - and some activities and expressions will also initialize it as it’s populated.
Also, make sure none of your variables exist twice. Search for each one in the Studio search bar and see if you see any twice. Also make sure you don’t have variables and arguments with the same name.