Skip to main content

KI-116

Workflow tasks with files over 3MB cannot be assigned to multiple users

Created date

03/18/2024

Updated date

03/18/2024

Status

Salesforce Dependency

Related work item

PLTFM-2488

Description

Users are unable to assign and email workflow tasks to multiple task assignees when there are file attachments over 3MB in size. By default, Salesforce converts file attachments that are over 3MB into links and then includes the links in outbound emails instead of the actual files. However, Salesforce is unable to create multiple links for a single file, which is required if a workflow task with file attachments is assigned and emailed to multiple task assignees. Instead, Salesforce throws a "duplicate value found" error.

Affects version(s)

Fall '23

Impacted capabilities

N/A

Steps to reproduce

  1. Enable the ability for users to attach files in workflow task emails. For detailed instructions, reference Attach files.

  2. Create a document.

  3. On the document, add two document collaborators as well as a file that is greater than 3MB.

    Note

    If you do not have a file that is greater than 3MB to reproduce the issue with, you can change the default email attachments setting so that Salesforce converts all files into links. In Setup, search for and select Email Attachments, and change the selection to “Always as links”.

  4. Start a workflow.

  5. On a workflow task, attach the file that is greater than 3MB.

  6. Assign the workflow task to the two document collaborators.

Note that Salesforce throws a "duplicate value found" error.

Workaround

To allow users to attach files up to 25MB on workflow tasks:

  1. In Setup, search for and select Email Attachments.

  2. Select the third option labeled "Include as attachment up to Salesforce email size limit or as links if more." (The email size limit is 25MB, as documented by Salesforce in Email attachment limits in Lightning Experience and Salesforce Classic. The default selection is the second option labeled "Include as attachment up to 3 MB or as links if more.")

  3. Click Save.

Fix version

Resolution notes