Email notification

Hi,

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

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.

3 Likes

Sample email template

If I write condition like this, its not working.

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

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

2 Likes

its not working as well.

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

This is not working too.

Is the intent to avoid the complete email notification or just 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.

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

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

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