Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/07/2024 07:20 AM
We have configured Analytics report to trigger account password expiry reminder notifications to users on daily basis. We are capturing account data from report on the email body to display to user.
Report trigger process working as expected and users receving emails on those reminders, but we would like to avoid the email attachment with that user details as report when we already stamping that information in email body.
Are there any options to turn-off the email attachments or avoid sending report as attachment in those email reminder notifications triggering by analytics report?
Thank you
08/07/2024 06:29 PM
Just click send email in analytics configuration
08/08/2024 01:52 PM
We have already enabled Send Email as Attachment option in report analytics for that report. With this option, mail will be triggerred normally, but its also sending report as attachment to user along with email.
08/08/2024 03:35 PM
Untick save data option
08/08/2024 03:40 PM
If i untick that option, then will am able to still read data from report to mail body table with columns values populated? Hope mailbody data will not be distrubed right. Let me test and keep you post on this. Thank you.
08/08/2024 03:47 PM
No it won’t impact. It will not store data in elastic search
08/08/2024 04:00 PM
That didn't help, am still getting report as attachment.
Untick of above option not storing report in saviynt analytics folder.
08/08/2024 05:19 PM
schedule report and try
08/15/2024 08:08 AM
We have tried scheduled the report for every 5 mins, but its still sending mail with attachment of report in it.
08/15/2024 08:47 AM
Share transport export of report & email as we are using email notification and sending without attachements
08/23/2024 02:08 PM
email template:
Please find the requested details for your reference.
08/23/2024 05:56 PM
what is to cc bcc
also share transport of report
08/26/2024 02:07 PM
08/26/2024 06:17 PM
SELECT '100000' AS USERNAME,
u.displayname AS DISPLAYNAME,
u.email AS EMAIL,
a.name AS ACCOUNT_NAME,
e.displayname AS DOMAIN,
a.lastpasswordchange AS
LAST_PASSWORD_CHANGE_DAT,
CASE
WHEN a.status = 1 THEN 'Active'
ELSE a.status
END AS ACCOUNT_STATE,
Date_add(a.lastpasswordchange, interval 42 day) AS PASSWORD_EXPIRY_ON
FROM users u,
accounts a,
user_accounts ua,
endpoints e
WHERE u.userkey = ua.userkey
AND ua.accountkey = a.accountkey
AND a.endpointkey = e.endpointkey
AND a.endpointkey IN ( 28, 29, 30, 31 )
AND a.status NOT IN ( 'SUSPENDED FROM IMPORT SERVICE', 'Inactive' )
AND Datediff(Date_add(a.lastpasswordchange, interval 42 day), SYSDATE())
BETWEEN
0
AND 5
AND u.customproperty39 = 'Active'
AND u.regioncode IN ( 'Active', 'Ready for Hire', 'Leave of Absence' )
AND u.companyname = 'abc'
<!DOCTYPE html>
<html>
<head>
<title>Rushilesh</title>
<style>
table {
border-collapse: collapse;
border: 1px solid black;
width: 200%;
}
th,
td {
border: 1px solid black;
padding: 10px;
}
th {
background-color: #87CEFA;
text-align: center;
color: black;
font-size: 18px
}
td {
text-align: center;
}
</style>
</head>
<body>
<table>
<tr>
<th>DISPLAYNAME</th>
<th>EMAIL</th>
<th>ACCOUNT_NAME</th>
<th>DOMAIN</th>
<th>LAST_PASSWORD_CHANGE_DAT</th>
<th>ACOUNT_STATE</th>
<th>PASSWORD_EXPIRY_ON</th>
</tr>
<%int cnt=Integer.parseInt("${ANALYTICSDATA.USERNAME.size()}"); for(int i=0;i<cnt;i=i+1){%>
<tr>
<td>${ANALYTICSDATA.'DISPLAYNAME'[i]}</td>
<td>${ANALYTICSDATA.'EMAIL'[i]}</td>
<td>${ANALYTICSDATA.'ACCOUNT_NAME'[i]}</td>
<td>${ANALYTICSDATA.'DOMAIN'[i]}</td>
<td>${ANALYTICSDATA.'LAST_PASSWORD_CHANGE_DAT'[i]}</td>
<td>${ANALYTICSDATA.'ACCOUNT_STATE'[i]}</td>
<td>${ANALYTICSDATA.'PASSWORD_EXPIRY_ON'[i]}</td>
</tr>
<%}%>
</table> <br>
<p>Regards,<br> Rushikesh Vartak</p>
</body>
</html>
08/28/2024 07:36 AM
I have exactly followed your email template and query, report setting base count to 1 and unchecked save data. but still no luck. we still see email going with attachment.
08/28/2024 07:39 AM
I tried your export and its working for me in v24.4 and +
08/28/2024 07:53 AM - edited 08/28/2024 07:54 AM
Not sure where exactly am doing wrong. Correct me if below am not doing right.
1. base count 1
2. uncheck save data
3. check send as email attachment
4. category : password expiry
08/28/2024 08:12 AM
08/28/2024 08:26 AM
thats what exactly i did with your query and email template. it was still sending attachment on email.
08/28/2024 08:31 AM
Raise support ticket