# Workflow - Account aggregation completed

**URL:** <https://developer.sailpoint.com/discuss/t/workflow-account-aggregation-completed/5113>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, sailpoint-identity-security\
**Created:** [July 25, 2022, 8:52am UTC](https://developer.sailpoint.com/discuss/t/workflow-account-aggregation-completed/5113 "2022-07-25T08:52:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manju22](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Manju22](https://developer.sailpoint.com/discuss/u/Manju22)\
**Post date:** [July 25, 2022, 8:52am UTC](https://developer.sailpoint.com/discuss/t/workflow-account-aggregation-completed/5113/1 "2022-07-25T08:52:00Z")

</div>

What could be JSON path expression to start the trigger for "Account aggregation completed " in the workflow.

![image](https://global.discourse-cdn.com/sailpoint/original/2X/c/c75be15edf534862bf023f46f13333fa915368c0.png)

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [July 25, 2022, 1:06pm UTC](https://developer.sailpoint.com/discuss/t/workflow-account-aggregation-completed/5113/2 "2022-07-25T13:06:20Z")

</div>

Welcome to the developer community @Manju22 .

Trigger filters are only necessary if you want to only receive events under certain conditions. If you leave this blank then your workflow will be activated for every event. That being said, it’s a good idea to figure out which events you want to process and then apply a filter so you only receive those events. You can learn more about t[rigger filtering here](https://developer.sailpoint.com/triggers/event-triggers-filtering-events.html).

---

<div class="post-metadata">

**Author:** ![Manju22](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Manju22](https://developer.sailpoint.com/discuss/u/Manju22)\
**Post date:** [July 27, 2022, 8:53am UTC](https://developer.sailpoint.com/discuss/t/workflow-account-aggregation-completed/5113/3 "2022-07-27T08:53:54Z")

</div>

Thanks Colin. I have created workflow for Account aggregation Completed. Its works well for successful aggregation, but am not getting email notification for failed or terminated ones.

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/d/dfca7d5fab8c7406cc0e4273f05128345e496b99.png)

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [July 27, 2022, 1:00pm UTC](https://developer.sailpoint.com/discuss/t/workflow-account-aggregation-completed/5113/4 "2022-07-27T13:00:35Z")

</div>

Is the workflow executed upon failed/terminated aggregations? Is the execution successful, or does it fail? Is it just not sending the email? If that is the case, then you’ll need to open a support ticket so the support team can investigate your environment. Since you don’t have a trigger filter, this should work.

---

<div class="post-metadata">

**Author:** ![Manju22](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Manju22](https://developer.sailpoint.com/discuss/u/Manju22)\
**Post date:** [August 10, 2022, 10:54am UTC](https://developer.sailpoint.com/discuss/t/workflow-account-aggregation-completed/5113/5 "2022-08-10T10:54:04Z")

</div>

Hi Colin,  
workflow triggers e-mail for aggregation completed with success/error… But It not sending email for the aggregation which is completed with warning.

This workflow has been enabled in our tenant for past two weeks and many aggregation ended up in warning, but we didnt get alert.

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [August 10, 2022, 6:23pm UTC](https://developer.sailpoint.com/discuss/t/workflow-account-aggregation-completed/5113/6 "2022-08-10T18:23:21Z")

</div>

According to our [trigger docs](https://developer.sailpoint.com/triggers/available-event-triggers/account-aggregation-completed.html#event-context), account aggregation events will only fire if the status is success, error, or termination. However, I agree that warning should be included in that list. I’m going to raise this to engineering to see if there is a reason warning was excluded, and if we can get it added in.

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [August 11, 2022, 7:38pm UTC](https://developer.sailpoint.com/discuss/t/workflow-account-aggregation-completed/5113/7 "2022-08-11T19:38:06Z")

</div>

@Manju22 I spoke with engineering and they say that the trigger should be fired for aggregations that complete with a “warning”. It’s possible there is something else going on in your environment. Can you please open a support ticket so they can investigate your environment?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [July 19, 2023, 2:23pm UTC](https://developer.sailpoint.com/discuss/t/workflow-account-aggregation-completed/5113/8 "2023-07-19T14:23:21Z")

</div>

Closed on July 19, 2023, 2:23pm UTC


