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

Can we send password expiry email notification without an attachment

Yaswanth
New Contributor III
New Contributor III

Hello Team,

We have configured the password expiry notification for AD accounts, the notification email is getting triggered with an attachment. but the client expectation is the attachment is not required in the email.

We have tried to disable "Send email as attachment" checkbox in the analytics but the email template is also disabled along with that..

Can you let us know how to send a notification without an attachment.

Thanks.

28 REPLIES 28

adarshk
Saviynt Employee
Saviynt Employee

Hi @Yaswanth 

Password expire emails are triggered through analytics and for analytics, its by default the excel will be attached when an email is sent.

 

rushikeshvartak
All-Star
All-Star

Share below

  • Can you share report configuration
  • Group by username under global configuration
  • Email Template details

Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hello Rushikesh Vartak,

  • Can you share report configuration
  • select u.username,u.firstname, u.lastname, e.endpointname as 'Application', ac.name as 'Account Name', date_add(ac.LASTPASSWORDCHANGE,Interval 30 day) as 'Password Expiration Date' from users u, accounts ac, user_accounts ua, securitysystems ss, endpoints e, policyrule p where ac.status in ("Manually Provisioned",1,'Active') and (ac.ACCOUNTTYPE is null or e.ACCOUNTTYPEFORSERVICEACCOUNT not like concat('%',ac.ACCOUNTTYPE,'%')) and ac.LASTPASSWORDCHANGE is not null and u.USERKEY=ua.USERKEY and u.STATUSKEY=1 and ac.ACCOUNTKEY=ua.ACCOUNTKEY and ac.ENDPOINTKEY = e.ENDPOINTKEY and e.SECURITYSYSTEMKEY = ss.SYSTEMKEY and ss.POLICYRULE=p.POLICYRULEKEY and ss.POLICYRULE not in ('') and ss.POLICYRULE is not null and ss.STATUS=1 and e.status=1 and DATEDIFF(date_add(ac.LASTPASSWORDCHANGE,Interval 30 day),sysdate())=2 and e.endpointname = 'XXXXXXX';

 

  • Group by username under global configuration --- Unchecked

 

  • Email Template details --

<span style="font-size:10.5pt;color:black">Dear <b>${ANALYTICSDATA.firstname[0]} ${ANALYTICSDATA.lastname[0]}</b>, <o:p></o:p></span></p><p style="margin-left:30.0pt;background:white;vertical-align:middle">

Group by username under global configuration --> Check this option


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Sure, And can you help us with the password expiry notification without attachment?

 

Yaswanth
New Contributor III
New Contributor III

Can you help me with Analytics query and email template to achieve email notification without attachment

Above will make sure it sent without attachment.

We are using analytics with above config which does not sends emails

also save data in analytics make difference 

It should be

rushikeshvartak_0-1708495130771.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Sorry.. you mean to say, without attachment we cant send eamils?

We can send without attachment


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Can you share me the analytics and template here? since we have tried all the ways by enabling the Group emails by username in global configurations.. so it is sending attachments

Email 

rushikeshvartak_0-1708496163257.png

 

rushikeshvartak_1-1708496186242.pngrushikeshvartak_2-1708496217959.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hi @rushikeshvartak ,

I have a similar use case where the manager is to be notified that the user's enddate is coming up. I have applied your settings but the attachment is still being sent with the email.

Ivan5533_0-1712229246592.png

To: has my email

Ivan5533_1-1712229306987.png

Ivan5533_2-1712229432133.png

@Yaswanth Have you found a solution for this? If so, I would appreciate if you could share it with me.

 

Kind regards,

Ivan

 

 

Saviynt by default sends attachment if notification is sent from analytics. There is no option to skip it. If required you may need to open a IDEA for the same.

sk_0-1712245944060.png

 


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

Untick save data it will not send attachement


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hi @rushikeshvartak@sk,

You are both telling me different things, Is it possible or not to send an email with analytics without the attachment?

After trying @rushikeshvartak  suggestion about untick the save data, the attachment is still being sent.

Kind regards,

Ivan

Please confirm report type runtime or normal


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Screenshot 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

@rushikeshvartak 

Ivan5533_1-1712318582649.png

 

Ivan5533_0-1712318516776.png

 

Kind regards,

Ivan

 

Please recreate email and validate . This is working for us


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hi @rushikeshvartak 

We are on version 23.11, can you verify that we are on the same version? Below is a screenshot of the email template so you can validate that it is correct.

Ivan5533_0-1712561706413.png

Kind regards,

Ivan

 

There is no relation of version its working for us from v23.6 till 24.4


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Follow below Steps

  1. Create Email Templaterushikeshvartak_2-1712633277507.png

     

     

    1. Create new analytics using SQL Query  - select 'admin' as username, 'Rushi Data' as data from dualrushikeshvartak_1-1712632869416.png
  2. Run Report
  3. Check Email

rushikeshvartak_3-1712633503274.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hi @rushikeshvartak ,

Same configuration, different results

Email template:

Ivan5533_1-1712649314059.png

Analytics:

Ivan5533_2-1712649412470.png

 

Email:

Ivan5533_0-1712649286761.png

 

Kind regards,

Ivan

 

Make Alias capital 

select 'admin' as USERNAME, 'Rushi Data' as data from dual


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hi @rushikeshvartak, same result

Ivan5533_0-1712734821443.png

Ivan5533_1-1712734926354.png

Kind regards,

Ivan

Please share config screenshot

rushikeshvartak_0-1712807252340.png

select * from analyticsconfiges where ANALYTICSNAME like '%Rushi%'

select * from ecmemailtemplate where name like '%Rushi%'

rushikeshvartak_1-1712807321253.png

 

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

@Ivan5533 : As per document and my personal experience it is not possible to send analytics email notifications without attachment at least till v23.10. I am not sure if the product is behaving differently in latest version or if there are any workarounds. At least in document they didn't mention anything that is changed in latest version.


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