You are viewing limited content. For full access, please sign in.

Question

Question

Cloud WF Email Limitations Workaround

asked on June 11, 2022

Hello, we have a customer who uses forms to receive and track work orders for their entire county.  Part of that forms process is to email a copy of the Work Order to users internally.  This email also includes as attachments any supporting documentation that was uploaded when the Work Order was submitted.  

Rarely, these attachments exceed the 10MB limit enforced on email attachments and so occasionally the WO process will suspend and someone (usually me) has to go and tell the process to skip the email activity so it can proceed onward in the process.

I was thinking Workflow could solve this by calculating attachment sizes or even zipping up all the attachments when sending the email....however, it turns out the Cloud Workflow does not currently have the capability to attach documents from the repository unless they have an associated electronic file (which for this customer is almost never the case).

So now I'm stuck on what the best solution/workaround to this scenario would be.  In Forms, I could check the box to allow the process to continue before the email activity is completed which should solve the suspended instance issues but wouldn't solve the problem of the unsent email.

I could have workflow try and calculate the total size of all documents, make a judgement and send a signal back to the forms process on whether to send the full email (w/attachments) or notify management that the attachments would be too large and only attach the work order itself.  This might be an acceptable workaround but wanted to check with the community and see if there was any other workarounds to the Workflow email limitations in cloud?

Thanks in advance!

0 0

Replies

replied on June 12, 2022

Hi Grant, I know that the email provider Laserfiche Cloud uses just recently raised their attachment limit from 10 MB to at least 25 MB, and that we were actively looking into raising Laserfiche Cloud's in turn. If you're only occasionally going slightly over 10 MB on the attachments, this might be a problem that resolves itself soon enough. 

0 0
replied on September 6, 2022

Hi Grant,

The Laserfiche Cloud September 2022 Updates increase the maximum size of emails in workflows and business processes to 40 MB, up from 10 MB.  

1 0
replied on December 3, 2023 Show version history

Hi @████████ - it looks like although the 'Total Email Size' can be up to 40MB, the actual total Attachment size can only be 25 MB (combined total of all attachments). Is this correct?

If this is the case - then why is there that limitation on attachments? Why can't the 'Total Email Size' include attachments (allowing say, 2 x 19MB attachments)?

We have a use case where Civil Engineers are uploading PDFs/JPGs (site plan drawings etc) that are regularly very large - and we want to use workflow to send the files to external parties.

Since Direct Share is still not available to Workflow - then their only option is Email Attachments... or having to send them manually if they have over 25 MB combined attachment total.

More control here would be ideal if possible. Even if it required more cost they would likely pay! (as long as it was reasonable).

0 0
replied on December 4, 2023 Show version history

Hi Duncan,

That's correct and documented in the Process Automation Service Limits.

Email attachments must be MIME-encoded to convert the binary file to a Base64 text representation, a process which makes the encoded file take up around 137% the space of the original. Think "fitting a soccer ball in a square box".

See:

Email was originally intended solely for handling text-based messages. MIME encoding makes it possible to send binary files (non-ASCII text files) such as multimedia files, compressed archives, etc. over the Internet.

Almost all modern email clients support the MIME encoding and decoding process. The MIME process takes binary files and converts or encodes them to a plain text format for the trip across the Internet. The MIME process then decodes or reconverts the plain text back into the original binary format once the email reaches its destination.

The result of this process is overhead in terms of file sizes. In general, MIME encoded binary attachments are approximately 137% of the size of the original, pre-encoded file. For example, if you attach a 3MB .zip file to an email, the file will exceeds 4.1MB when it is in transit between servers.

A 25 MB attachment thus uses 34.25 MB of the available 40 MB maximum message size Amazon SES allows (which is hard limit that cannot be raised on request, etc.). After SES raised their max message size limit to 40 MB, we raised ours to (roughly) match.

25 MB is also a common receive-side attachment size limit. The highest we could have possibly made the attachment size limit is about 29 MB, which after encoding would leave a few KB for any text/HTML/CSS/images/etc., Allowing that extra 4 MB in attachments would almost certainly result in an increase in send-side failures due to max message size constraints as well as an increase in receive-side failures from being over the common 25 MB default.

Two 19 MB attachments would be 52 MB after encoding.

Even if we could give you account-level control over the attachment size max (which we can't at the moment), I'm guessing bumping it up another 3-4 MB to the hard technical limit wouldn't meaningfully make a difference for your use case.

As you noted, a Direct Share activity for Cloud Workflow is likely the "right" solution for it. I don't know the current status of or plans for that though.

Since Direct Share is still not available to Workflow - then their only option is Email Attachments... or having to send them manually if they have over 25 MB combined attachment total.

Wish I had an immediate solution for you here, but hopefully this response at least helps you understand the technical aspects of the email limits we're working with.

1 0
replied on December 4, 2023

Thanks Samuel for the thorough explanation - really useful!

Looks like Workflow Direct Share activity is what we're holding out for. Currently that's on your dev roadmap for H1 next year as far as I can see, although I know that's a 'target' and not a guarantee.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.