Exception: Failed to find subworkflow

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.

![pastedimage1617721482886v1.png|640x421](upload://hNqWucQYlhSOzWrUxLEgoJi3OZp.png)

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

![pastedimage1617721482887v2.png|552x479](upload://nuBQDO5Q9CPWceIzpKCKyG4kL14.png)

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

![pastedimage1617721482887v3.png|640x170](upload://m0Kc8VxO0bEwFyQpeMZ5fOMxHVN.png)

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