BS-355 fix the document reference refers to the root process instance instead of parent process instance