From e7955ac9d3872214fedb3aa1f6557200cc3f31c8 Mon Sep 17 00:00:00 2001 From: MLenterman Date: Fri, 23 Aug 2024 13:53:12 +0200 Subject: [PATCH] docs: add new 'case closed' check to tweewegcommunication workflow --- .../workflows/two-way-communication-workflow.mdx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docusaurus/docs/openforms2bpel/translations/workflows/two-way-communication-workflow.mdx b/docusaurus/docs/openforms2bpel/translations/workflows/two-way-communication-workflow.mdx index d000575..a9a2788 100644 --- a/docusaurus/docs/openforms2bpel/translations/workflows/two-way-communication-workflow.mdx +++ b/docusaurus/docs/openforms2bpel/translations/workflows/two-way-communication-workflow.mdx @@ -29,7 +29,16 @@ If the provided target case is not recognized, or if the form's initiating subje ::: 1. Check if the form's initiating subject is also the case's initiating subject. If this is not the case, an e-mail is sent to the form's initiating subject using the configured **SMTP Server/Relay** and the **mail template** - configured in the `openforms2bpel.workflows.tweewegcommunicatie.on-subject-not-equals-case-subject.mail-template` property. A `SubjectNotEqualsCaseSubject_Exception` is thrown instead if there is no **mail template** configured. + configured in the `openforms2bpel.workflows.tweewegcommunicatie.on-subject-not-equals-case-subject.mail-template` property. A `SubjectNotEqualsCaseSubject_Exception` is thrown instead if there is + no **mail template** configured. + +1. Check if the case is closed already. If this is the case, an e-mail is sent to the form's initiating subject using the configured **SMTP Server/Relay** and the **mail template** configured in + the `openforms2bpel.workflows.tweewegcommunicatie.on-case-closed.mail-template` property.A `CaseClosed_Exception` is thrown instead if there is no **mail template** configured. + + :::warning + This check must always come after validating that the form's initiating subject is also the case's initiating subject. Otherwise the noreply e-mail notification could potentially be misused to leak information + about case closure status of cases that are not their own. + ::: 1. Upload all attachments provided in the form and the form result pdf to the **Document vault**, add them to the case and signal that the documents are ready to be processed from the **Document vault**. This is done by calling [AddDocumentsToCaseCommand](.).