Thank you.
The parent process workflow is in the middle of a loop for checking approvals based on the change order type when the child process is called.
The Start Process operator settings are:
Process Name: <path to child process>
Process Dataset Initialization Code: <various parent variable from the initiating change order, plus the global variable for the SDM WSDL to use between PAM/SDM environments>
Mode: Attached
Inherent Lane Change Handler from parent process: Not checked
Start Date: Process.Date
Start Time: Process.Time
All other values are default/blank.
The child process variables I am returning are from an approval task IRF
Process.ApprovalCode: This is either APP, REF, or RFI
Process.ApprovalComments: blank or user character string
I am using the SDM custom operator "Update Status and Comment" in the parent process immediately after control is returned.
The Pre-execution Code is the code I commented above.
The workflow never moves beyond the Pre-execution Code.
If you do not have the SDM custom operator, you can use the Run Javascript operator from the Utilities library.
J.W.