QuestionQ217

VerifiedDocument Understanding Process

Consider the following high-level solution diagram:

Question Image

According to UiPath Best Practices, which activity should be used to implement the Classification Loop?

Explanation

The Classification Loop in this Document Understanding solution contains a 'Create Validation Action in Action Center' step, which makes the process long-running: the workflow suspends and later resumes when the SME completes the action. UiPath best practice is that For Each activities cannot reliably survive suspend/resume of a long-running orchestration process because the iterator state is not persisted, so a While activity driven by an explicit index/condition should be used instead. The 'no items / next item' branching shown also mirrors the While-style Queue Item Loop above it. Therefore the While activity is the correct choice, not For Each or Parallel For Each.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!