How to define mandatory fields for a document in DU process

Where do we define a field mandatory in DU process?

@Ana_Patricia

There are no mandatory firlds as such…you can verify the output if the field is retrieved or not

Cheers

Im checking the values with this function but its showing automatic result output rather than human validated one. Is this the right function?
humanvalidatedResults.ResultsDocument.Fields.First(Function(i As ResultsDataPoint) i.FieldName = “testField”).Values(0).Value

@Ana_Patricia

Can you try this please

output.GetField("testField")

cheers

No this doesnt work

@Ana_Patricia

Resultsdocument field would ideally contain the data read feom the document

Cheers

Hi @Ana_Patricia

If you are latest version…currently these are available to set rules

Cheers

Will check that , Thank you

1 Like

If the value is missing this doesnt work since it will have no values inside.
Please check first if the value is missing(Field.IsMissing) or
alternatively you can check humanvalidatedResults.ResultsDocument.Fields.First(Function(i As ResultsDataPoint) i.FieldName = “FieldName”).Values.count>0 to check if it has values.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.