Fetching Phase


Overview

It is the responsibility of this phase to load into memory everything the Process Phase needs to process the document. We’ve already loaded the config file into memory. But is that the last word? No. Here we fetch any assets that may be in Orchestrator to override the config settings. We also load in the taxonomy file. If we’re using a queue, we fetch the document, which is a transaction item, from the queue.

Fetch Phase In A Nutshell
  • Call Initialize Process
    • Load Taxonomy
    • Fetch Assets from Orchestrator
  • Call Get Transaction Item (if using Queue)

Setting Up Assets

The DU Template looks to shared settings in Orchestrator to finish initializing. Set up a new folder in your tenant called DU. Within that folder, add the following Assets:

Asset NameValue
DocumentUnderstandingApiKeyGet from Admin > Licenses > Consumables > AI Center
AlwaysValidateClassificationFalse
AlwaysValidateExtractionFalse
SkipClassifierTrainingFalse
SkipExtractorTrainingFalse

Workflow 1: Initialize Process
In Arguments
ArgumentTypeValue
in_AssetsSheetString“Assets”
in_ConfigFileString“Data\config.xlsx”
in_MaxAttemptsInt32maxAttempts
in_RetryIntervalTimeSpanretryInterval
io_ConfigDictionaryconfig

What Happens
StepWhat HappensConfig Key UsedSectionValue
1Log MessageLogMessage_InitStartedConstants“Project initialization started”
2Retry ScopeMaxExecutionAttemptsConstants3
RetryIntervalConstants30
3Load Taxonomytaxonomy.json file
4Read RangeReads just Asset sheet
from config into configDT
5For Each Row
in configDT
ApiKeyAssetsRequired – Store in Asset called
DocumentUnderstandingApiKey
Any other asset found will be added
Out Arguments