Convert TaskData (Task ID) to DocumentValidationActionData

Hello,

We are using Action Center to create a document data validation action to assign a human to validate a document to check whether the document is correct or not. We populate a queue in Orchestrator with the task ID to check if the task is complete without the need to use “Wait for document classification action and resume” as it is not productive to leave a license on hold that only allows robots to use in backgroud.
The problem we are facing is: when the human completes the task in the action center, we need to get ValidationExtractionResult but we can only get it using TaskData through the Get Task activity:

im_1

So the result of Get Task is a TaskData variable and we cannot use this type of variable in the ‘Classifier Train Scope’ because that activity only receives DocumentValidationActionData.

@sebas0910

One thingn here

Wait for task will allow foreground process also to run when in suspended state

Cheers