ENGINE-1898: When updating a document using an operation use the
parentProcessInstanceId instead of the rootContainerId
ENGINE-1898: improve waitforUser