Hello Everyone,
If data is unreadable ie. if validation score is less than 80% in Document Understanding, the bot has to flag the case and send it for manual review ie. Action Center.
Please help me with the logic in UiPath workflow.
Hello Everyone,
If data is unreadable ie. if validation score is less than 80% in Document Understanding, the bot has to flag the case and send it for manual review ie. Action Center.
Please help me with the logic in UiPath workflow.
Hey @Vaishnav_Tej ,
You can try this out to get average confidence of all extracted field
ColumnNameList = OutputDs.Tables(0).Columns.Cast(Of DataColumn).Where(Function(c) c.ColumnName.Contains(“- Confidence”)).Select(Function(x) x.ColumnName).ToList()
ConfidenceValue = ColumnNameList.AsEnumerable().Where(Function(y) Not String.IsNullOrEmpty(OutputDs.Tables(0).Rows(0)(y).ToString)).Average(Function(x) Cdbl(OutputDs.Tables(0).Rows(0)(x)))
The code returns all columns with confidence as suffix and then returns the average if all confidence values.
If this solves your question , do mark it as solution
get the validation score from extractionresult.validationstatus.score
use an if activity to check if the score is less than 0.8
if true, use create document validation action to send to action center
otherwise, continue with the process
For more: Action Center - Create Document Validation Action
If you found helpful, Mark as a solution tick .
Happy Automation
Refer this solution.
Hi @Mir.Jasimuddin,
My post isn’t AI-generated, I wrote it myself. If you think otherwise, I’m happy to explain my process.