UiPath Activities

The UiPath Activities Guide

Wait for Document Validation Action and Resume

UiPath.IntelligentOCR.Activities.WaitForDocumentValidationActionAndResume

The activity can be used to suspend the execution of the current workflow until a specified document validation action is completed. To designate a validation action, a DocumentValidationActionData object obtained from the Create Document Validation Action activity must be supplied. Upon completion of the validation action provided as input, the execution of the workflow is resumed.

Note:

When creating a new UiPath Studio project that includes this activity, you should select the Orchestration Process template or go to Project Settings and activate the Supports Persistence flag.
For Action Center integration, CORS/CSP settings are required. More details here.

Properties

Action Details

  • ActionObject(Input) - Specifies the input action, which is actually the output of the Create Document Validation Action activity.

Action Output

  • ActionObject(Output) - Provides the updated action object returned by Orchestrator once the action is completed.

Common

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
  • DisplayName - The display name of the activity.
  • StatusMessage - The status message is displayed against the workflows in suspended mode while waiting for the action completion. This field supports only strings and String variables.
  • Timeout (milliseconds) - Specifies how long to wait (in milliseconds) for the activity to connect to Orchestrator before an error is thrown. This does not refer to the time spent in suspension by the workflow. The default value is 30000 milliseconds (30 sec). This field supports only integer and Int32 variables.

Document Validation Data Output

  • AutomaticExtractionResults - If set, the automatically generated extraction results used by the document validation action are downloaded from storage and set in the passed in variable. This field supports only ExtractionResult variables.
  • DocumentObjectModel - If set, the document object model used by the document validation action is downloaded from storage and set in the variable passed in. This field supports only Document variables.
  • DocumentPath - If set, it returns the full local path of the downloaded document associated with the action in the specified DownloadFolderPath. This field supports only strings and String variables.
  • DocumentText - If set, the document text used by the document validation action is downloaded from storage and set in the variable passed in. This field supports only String variables.
  • Taxonomy - If set, the taxonomy used by the document validation action is downloaded from storage and set in the variable passed in. This field supports only DocumentTaxonomy variables.
  • ValidatedExtractionResults - If set, the human validated extraction results from the document validation action are downloaded from storage and set in the variable passed in. This field supports only ExtractionResult variables.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Storage Details

  • DownloadFolderPath - Provides a path to a local directory used for downloading and storing the document associated with the action. If set, the document is downloaded to the specified directory path.
  • RemoveDataFromStorage - If selected, removes all data associated with the current action from the storage bucket. Once all data is removed, no completed actions are available in Orchestrator.

Note:

Make sure that you have enabled all needed permissions for Orchestrator. Go to Folder Permissions for the Robot role in Orchestrator and verify that:
For Storage Files permissions, View and Delete options are selected.
For Storage Buckets permissions, View option is selected.
For Actions permissions, View option is selected.

Updated about a month ago


Wait for Document Validation Action and Resume


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.