diff --git a/src/org/camunda/latera/bss/connectors/hid/hydra/Contract.groovy b/src/org/camunda/latera/bss/connectors/hid/hydra/Contract.groovy index 08269a02..83257f63 100644 --- a/src/org/camunda/latera/bss/connectors/hid/hydra/Contract.groovy +++ b/src/org/camunda/latera/bss/connectors/hid/hydra/Contract.groovy @@ -213,6 +213,8 @@ trait Contract { if (!input.docTypeId) { input.docTypeId = getContractAppTypeId() } + input.receiverId = null + input.providerId = null return getDocumentsBy(input) } @@ -221,6 +223,8 @@ trait Contract { if (!input.docTypeId) { input.docTypeId = getContractAppTypeId() } + input.receiverId = null + input.providerId = null return getDocumentBy(input) } @@ -292,6 +296,8 @@ trait Contract { if (!input.docTypeId) { input.docTypeId = getAddAgreementTypeId() } + input.receiverId = null + input.providerId = null return getDocumentsBy(input) } @@ -300,6 +306,8 @@ trait Contract { if (!input.docTypeId) { input.docTypeId = getAddAgreementTypeId() } + input.receiverId = null + input.providerId = null return getDocumentBy(input) }