Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Email notification for managers manger is not working

Jagadish
New Contributor II
New Contributor II

Hi Team,

I am trying to sent email notification to approvars manager with the variable ${assigneemanager}. But, emails are not getting sent when we use ${assigneemanager} in the template. Any solution for this?

14 REPLIES 14

SumathiSomala
All-Star
All-Star

@Jagadish try

${assigneemanager.email}

 

If this reply answered your question, please Accept it As Solution to help others who may have a similar problem.

 

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

@SumathiSomala  I have add the variable in cc and triggered mail. I dont see email id of managers manager in CC

I can user managers manager attribute have email (cp20)

@Jagadish Is mail triggered to approver and approver's manager?

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

Jagadish
New Contributor II
New Contributor II

Mail not triggered to managers manager

@Jagadish Was  this email working earlier without ${assigneemanager.email}?

Is it working  without ${assigneemanager.email}?

Please share your email template and to address and logs.

Also check are there any unsupported variables used in the mail

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

The variable is printing null value in the logs

FYI @SumathiSomala 

"ecm-worker","2023-11-10T15:28:51.797+00:00","{"log":"2023-11-10 15:28:51,575 [pool-257-thread-1] DEBUG mail.EmailHistoryService - Mail: [cc:[null, null], bcc:[, ], subject:DEV: - Manager Approval Required, retryCount:0, to:[pnikesh], text:\u003c!DOCTYPE html\u003e\n","stream":"stdout","time":"2023-11-10T15:28:51.57572505Z"}"
"ecm-worker","2023-11-10T15:28:51.797+00:00","{"log":" \u003c!--Reciever--\u003e     Hello Aidan,Managers Manager null\n","stream":"stdout","time":"2023-11-10T15:28:51.5767029Z"}"

Below variable i have used in template and also in cc 

Jagadish_0-1699630695310.png

 

Please share complete to ,cc address fielda  and body of the email template

Was this email working earlier? 

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

@SumathiSomala  No, Its not sending notification to managers manager, but email is triggering

Jagadish_0-1699632107572.png

I cannot attach body as it have sensitive info like urls and company names

 

Check you are using supported variables in email and if possible, please hide the sensitive information and send the body.

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

Mail is triggering, but not sending sending notification to assigneemanager even after adding variable 

Please check assigneemanager has active account and email. 

Is same happening for different users as well? 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

its working now, @SumathiSomala  truly appreciate your insights

@Jagadish : Can you try below variable in body and tell me if you are getting value or not, Just want to validate if variable is not working  or attribute is not having value.

${assigneemanager?.firstname}

Also do you have Advanced CSS enabled?


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

Jagadish
New Contributor II
New Contributor II

Yes its working , i can see managers manager first name printed in template and yes Advance CSS is enabled @Saathvik