Hi,
You can only get parent document one level up from the current document using DOCFLOW>
You have to take invoice GUID from Complaint then get confirmation doc GUID from invoice GUID then get ORDER GUID from Confirmation doc GUID.
Regards,
Deepika.