Document Understanding - Post Processing

I’m using the Document Understanding Framework and I have a couple of rules that I need to add during the Post Processing (after the Extraction & before uploading my docs into Action Center).

These rules are: delete a set of words & replace the ‘$’ for ‘S’. I am using the the activity called Export Extraction Results, that converts my ExtractionResults into a DataSet. With this DataSet is very easy to apply these rules, the problem is that I don’t know (if possible) how to convert back this DataSet into ExtractionResults. If not, how can I manipulate the ExtractionResults variable directly to apply these rules instead of converting it to DataSet variable?

Thanks in advance.

Did you solve that issue? I have the same. Do you have any advice?

You don’t need to convert the DataSet back to ExtractionResults.

Instead, edit the ExtractionResults directly:

  1. After Data Extraction, loop through each document and its fields in extractionResults.
  2. For each field:
  • Remove unwanted words using Regex.
  • Replace $ with S using .Replace().
  1. Assign the cleaned text back to fieldResult.ValueText.