# Email notification

**URL:** <https://developer.sailpoint.com/discuss/t/email-notification/83423>\
**Category:** SHF Discussion and Questions\
**Tags:** email-templates, sailpoint-identity-security\
**Created:** [October 1, 2024, 9:24am UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423 "2024-10-01T09:24:18Z")\
**Posts on this page:** 12\
**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:** [October 1, 2024, 9:24am UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423/1 "2024-10-01T09:24:19Z")

</div>

Hi,

How to stop the email notification from being triggered if the access request is placed for one particular entitlement.

---

<div class="post-metadata">

**Author:** ![nikhlesh21](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/nikhlesh21/32/11800_2.png) [@nikhlesh21](https://developer.sailpoint.com/discuss/u/nikhlesh21)\
**Post date:** [October 1, 2024, 10:36am UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423/2 "2024-10-01T10:36:49Z")

</div>

HI @Manju22,

Try this.

1. Go to Email Template for which you need to stop email.
2. Use if else condition to stop email for specific entitlement.

Ex. #if(\<add\_condition\>)#stop #{else}reminaing subject line#end

Thanks.

---

<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:** [October 1, 2024, 12:54pm UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423/3 "2024-10-01T12:54:02Z")

</div>

Sample email template

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/9/0/90323dc7192d407219f6de04780b22eb5f7db0e7.png)

If I write condition like this, its not working.

#if($detail.name.toString().contains(“Azuregroupname”))#stop#end ${requesterName} Has Requested Access on Your Behalf.

---

<div class="post-metadata">

**Author:** ![nikhlesh21](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/nikhlesh21/32/11800_2.png) [@nikhlesh21](https://developer.sailpoint.com/discuss/u/nikhlesh21)\
**Post date:** [October 1, 2024, 1:08pm UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423/4 "2024-10-01T13:08:24Z")

</div>

Add #end in the end of the subject line.

`#if($detail.name.toString().contains("Azuregroupname"))#stop#{else} ${requesterName} Has Requested Access on Your Behalf.#end`

---

<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:** [October 1, 2024, 4:05pm UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423/5 "2024-10-01T16:05:03Z")

</div>

its not working as well.

---

<div class="post-metadata">

**Author:** ![bcariaga](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/bcariaga/32/1890_2.png) [@bcariaga](https://developer.sailpoint.com/discuss/u/bcariaga)\
**Post date:** [October 1, 2024, 4:10pm UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423/6 "2024-10-01T16:10:11Z")

</div>

Can you give this a try in the subject: #if($detail.name.toString().contains(“Azuregroupname”))no\_send#{else} ${requesterName} Has Requested Access on Your Behalf.#end

---

<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:** [October 9, 2024, 1:36pm UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423/7 "2024-10-09T13:36:08Z")

</div>

This is not working too.

---

<div class="post-metadata">

**Author:** ![venus](https://avatars.discourse-cdn.com/v4/letter/v/35a633/32.png) [@venus](https://developer.sailpoint.com/discuss/u/venus)\
**Post date:** [October 9, 2024, 2:11pm UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423/8 "2024-10-09T14:11:27Z")

</div>

Is the intent to avoid the complete email notification or just suppress one entitlement in the body?

---

<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:** [October 9, 2024, 3:35pm UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423/9 "2024-10-09T15:35:26Z")

</div>

> [@venus](#):
>
> suppress one entitlement in the body?

I like to suppress the email notification if one particular entitlement is being requested. Actually, we are requesting that entitlement using workflow (manage access). I dont want end user to be notified about the internal process.

---

<div class="post-metadata">

**Author:** ![venus](https://avatars.discourse-cdn.com/v4/letter/v/35a633/32.png) [@venus](https://developer.sailpoint.com/discuss/u/venus)\
**Post date:** [October 9, 2024, 3:37pm UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423/10 "2024-10-09T15:37:57Z")

</div>

Are you using the OOTB “LCM Provisioning” workflow or a custom one?

---

<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:** [October 10, 2024, 9:50am UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423/11 "2024-10-10T09:50:45Z")

</div>

> [@venus](#):
>
> custom one

custom workflow. Source account created as trigger and action as manage access (to add azure group).

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/e/1/e1c382d55d5c7c4c348614026510dd06a7b8a99a.png)

---

<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:** [December 9, 2024, 9:51am UTC](https://developer.sailpoint.com/discuss/t/email-notification/83423/12 "2024-12-09T09:51:20Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
