Document Understanding document process couldn't wait for human validation

Hi guys,

As I am working on the document Understanding Projects. In there, I am using the DU Framework action center workflow

I have to implemented based on the accuracy level the document goes to the action center for human validation but I want to peform all the human validation for all the human validation required document at the end then I have to export the data from the pdf

For now the workflow worked as,
Read the pdf document and classify the document, in extraction if the accuracy level is low move the document to action center then the studio goes to suspended state once perform the human validation then only moves to the export part. And the accuracy is good then it moves to export part directly.

Need the work logic to implement in the DU Framework

@Iswarya_P1

Use parallel for each to present in action center…then multiple will be posted and then will be suspended

Cheers

Hi

It seems like you want to modify your workflow so that all the human validation is performed at the end, regardless of whether the accuracy level is low or good
You can have a process flow like this

[Read PDF] → [Classify Document] → [Extract Data] → [Calculate Accuracy] → [If Accuracy Below Threshold] → [Move to Action Center] → [Else] → [Export Data]

In elaborate

  1. Read the PDF document and classify it.
  2. Check the accuracy level:
  • If the accuracy is low, move the document to an “Action Center” queue or folder for later processing.
  • If the accuracy is good, proceed to the next step.
  1. Repeat steps 1 and 2 for all documents that need processing.
  2. After processing all documents, you can create a separate workflow or script to perform human validation on all documents in the “Action Center” queue or folder. This workflow should iterate through the documents, present them for validation, and collect the validation results.
  3. Once all human validation is completed, proceed to the export part of the workflow for all documents, whether they initially had low or good accuracy.

Once you have configured the workflow, you can run it. The workflow will read the PDF document, classify it, extract the data, calculate the accuracy, and then move the document to the action center or export

This way, you ensure that all human validation tasks are batched together and performed at the end of processing, regardless of the initial accuracy level

Hope this helps

Cheers @Iswarya_P1

When Should I implement the Parallel For each Activity

@Iswarya_P1

Extract all the info from eqch file and in the normal for loop check the validation percentages…if the percentage is less than your allowed level…then collect the information into a list and save the extracted results

Then after all extractions are complete you will have a list of extracted results which are not validated or are not having threshold

Now use a paralle for each and submit the collected extrcted data to action center and use wait for resume in the same

So that all the tasks which are needed are created and waits for completion of task at once

Alternately you can try to keep allof the du framework as well inside parallel for eqch but …that might pose few issues…so try with the above approach

Cheers