Hi community,
I am encountering a critical issue when using the Complete Task activity to programmatically close a Document Validation Action.
The Workflow:
Create Document Data Validation Action→ Successfully creates the action.Assign Task→ Successfully assigns the task to the user.Complete Task→ Called within a logic branch to bypass manual validation when certain criteria are met.
The Problem:
I am struggling with theTask Dataparameter of theComplete Taskactivity.
- Scenario A: Leaving
Task Dataempty. The task moves to Completed, but when opening it in Action Center, I see the PDF file only. The fields are missing, and I get the error: “Fields could not be extracted. An error occurred while retrieving the extraction data!” - Scenario B: Passing
JObject.Parse(extractionResults.Serialize). The activity fails or the resulting Action becomes corrupted. I receive the following error: “Unable to open action. The possible reason is the associated data was deleted when the action was processed. The required file cannot be found on storage bucket with id ‘15’ and path ‘…/output_results.zip’”
Technical Insight: It appears that the Complete Task activity expects a specific metadata wrapper to correctly map the ValidatedExtractionResults to the Storage Bucket’s output_results.zip. Without this, the Orchestrator doesn’t trigger the necessary backend synchronization between the uploaded DOM/Text files and the final validated state.
Questions:
- What is the exact JObject schema required for the
Task Dataproperty to ensure the Action remains viewable (with DOM and fields) in the “Completed” tab? - Why does providing the serialized
ExtractionResultscause a Storage Bucket file-not-found error, even though theinput_results.zipexists? - Is there a specific requirement to manually upload the
output_results.zipto the Storage Bucket before callingComplete Task?
