How to send a single email notification when multiple attachments are uploaded to a Case in Creatio
Hi everyone,
I’m trying to implement a business process that sends an email notification to the Case Assignee whenever attachments are added to a Case.
Currently, I have designed a process that is triggered by an Object Signal on the Uploaded file object (Record Added event). It works fine, but the issue is that when a user uploads multiple attachments at once, the process sends multiple email notifications — one for each file.
Here’s what I’m trying to achieve:
- When one or more attachments are uploaded to a Case, send only one consolidated email notification (e.g., “3 attachments were added to Case #12345”).
- Ideally, the email should trigger once after all attachments are uploaded, not per file.
Has anyone implemented this before?
Is there a recommended way to handle this — for example, by grouping uploaded files or adding a delay to send one notification after all uploads are complete?
Any guidance, best practices, or sample logic would be really helpful.
Thanks
Like
Using a signal won't work by itself. You'd have to get creative and do something more like use a timer and look for cases with new files added since the last time the timer ran. Or keep the signal and log when an email notification is sent, so you ignore new triggers for new files within a certain time - for example, each time a file signal is triggered, check the notification log and if you already sent a notification within the last X minutes, ignore and don't send for the new files.
However, if you want the email to list the uploaded files, the first approach would likely work best IMO (using a timer to look for cases with new files since the last time the timer ran).
Or make it so you add attached files in some other way, like using a process with a dialog. The user adds as many files as they want and then the dialog closing triggers the process with the notification.