RE: Sub-Workflow error Document key Field empty, need a Sub-Workflow example and what is there for !!
Good evening, in the thread of this case something similar happens to me with the workflow of the purchase contract
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