Skip to main content

KI-143

Email notifications of manual workflow task assignments include unselected attachments

Created date

06/18/2025

Updated date

06/18/2025

Status

In Progress

Related work item

PLTFM-3437

Description

When some tasks on manual workflow stages are assigned with attachments, all of the task assignment email notifications are sent out with the attachments, even the task assignments that did not include any attachments.

Affects version(s)

Publications Management Fall '24 & Spring '25

Impacted capabilities

N/A

Steps to reproduce

  1. Create a Workflow Stage (mvn__CM_Workflow_Stage__mdt) metadata record.

    1. Keep the Initial Stage (mvn__CM_Initial_Stage__c) field unchecked (i.e., leave as false).

    2. Keep the Final Stage (mvn__CM_Final_Stage__c) field unchecked (i.e., leave as false).

    3. Check the Manual Stage (mvn__CM_Manual_Stage__c) field (i.e., set to true).

  2. Create two Manual Stage Activity (mvn__CM_Workflow_Stage_Activity__mdt) metadata records.

    1. On the Workflow Stage (mvn__CM_Workflow_Stage__c) field for each, select the Workflow Stage metadata record created in step 1.

  3. Ensure that the PP Task Assignment (PP_Task_Assignment) Document System Event Notification (mvn__CM_Document_System_Event_Notification__mdt) metadata record is enabled.

    1. Confirm that the Active (mvn__CM_Active__c) field is checked (i.e., set to true). Modify as needed.

  4. Create a new Document (mvn__CM_Document__c) record with a file attachment.

    1. Add two document collaborators.

    2. Start the workflow that contains the manual workflow stage created in step 1 and the workflow stage activities created in step 2.

    3. Assign the first workflow task to one document collaborator and ensure that the file attachment is selected.

    4. Assign the second workflow task to the other document collaborator and ensure that no file attachments are selected.

An email notification is sent to each of the document collaborators informing them of their task assignment. The first document collaborator receives the selected attachment as expected, but the second document collaborator also receives the attachment.

Workaround

There is no known workaround.

Fix version

Resolution notes