Confidence score check in Document Understanding

First off, please use the Document Understanding Process template found in Studio

CDec(io_ExtractionResults.ResultsDocument.Fields.Where(Function(field) field.FieldName.Equals(confField)).Select(Function(actual_field) actual_field.Values.Select(Function(val) val.Confidence))(0)(0))*100 < CDec(in_Config("other-Confidence"))

That’s how you check to see if the confidence of a field is lower than something you have set in your config file.