Hi Everybody I have a problem using subworkflow in a workflow of the purchase agreement
I have a main flow that, under some conditions, it calls sub-workflows.

To call each subworkflow, I indicate the subworkflow and it forces me to enter the document key ParentPurchaseAgreementID_PSN

The problem that this field is not reported and does not find the context.

Stopped (error): X++ Exception: Failed to find subworkflow data
at SysWorkflow-submitSubWorkflow
SysWorkflow-submitSubWorkflows
SysWorkflow-save
SysWorkflowQueue-resume
X++ Exception: The workflow system could not access the business document data. Report this issue to
your system administrator.
at SysWorkflowDocument-assertAsUser
SysWorkflowDocument-assert
SysWorkflowDocument-assertPermission
SysWorkflowDocument-getDocument
SysWorkflow-submitSubWorkflow
SysWorkflow-submitSubWorkflows
SysWorkflow-save
SysWorkflowQueue-resume
Anyone have any ideas?
Regards,
Adolfo