# Trigger custom activity when an attachment is added to a case

**URL:** <https://forums.pega.com/t/trigger-custom-activity-when-an-attachment-is-added-to-a-case/13694>\
**Category:** User Experience\
**Tags:** dev-designer-studio, pega-smart-investigate-agentic-automation, user-experience, constellation, pega-platform\
**Created:** [October 7, 2026, 3:14pm UTC](https://forums.pega.com/t/trigger-custom-activity-when-an-attachment-is-added-to-a-case/13694 "2026-10-07T15:14:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaleeshaW](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@MaleeshaW](https://forums.pega.com/u/MaleeshaW)\
**Post date:** [October 7, 2026, 3:14pm UTC](https://forums.pega.com/t/trigger-custom-activity-when-an-attachment-is-added-to-a-case/13694/1 "2026-10-07T15:14:30Z")

</div>

Hi all,

I have a requirement in **Pega Platform '26.1** where, whenever a user adds an attachment either:

- Through a **Pulse message** , or
- Through the **Utilities panel**

I need to invoke a custom activity that I have created in our `ABC-DEF-Work` layer.

However, I’m unable to identify the OOTB rule/activity that gets invoked when the attachment is added. I would like to avoid modifying any final rules.

Is there a supported extension point or recommended approach to trigger custom application logic when an attachment is added through these methods?

TIA

---

<div class="post-metadata">

**Author:** ![MarcCheong](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marccheong/32/23266_2.png) [@MarcCheong](https://forums.pega.com/u/MarcCheong)\
**Post date:** [October 7, 2026, 4:20pm UTC](https://forums.pega.com/t/trigger-custom-activity-when-an-attachment-is-added-to-a-case/13694/2 "2026-10-07T16:20:40Z")

</div>

@MaleeshaW have you tried the _CallVirusCheck_ approach?

- [https://docs.pega.com/bundle/platform/page/platform/security/configure-anti-virus-scanning-of-attachments.html](https://docs.pega.com/bundle/platform/page/platform/security/configure-anti-virus-scanning-of-attachments.html)

It is called automatically by Pega’s internal upload engine (pyUploadFile) across all standard UI endpoints—including Pulse posts, Utilities Panel / Attach Content widgets, and DX APIs. It is also explicitly marked as an extension point, so you avoid any final rules there.
