Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/23/2024 10:32 AM
Hi Saviynt Team,
I hope this message finds you well.
I am encountering an issue with our email template for analytics reports. Specifically, the variable ${tasks?.endpoint?.getOwnersEmail()} does not seem to be functioning as expected when used in the "To" field of the email template. Our objective is to automatically send the analytics report to the owners of the endpoint (typically user groups) upon execution.
Here are the details:
I have reviewed the available documentation on supported variables and attempted several troubleshooting steps, but the issue persists. Could you please assist with the following:
Any guidance or support you can provide to resolve this issue would be greatly appreciated.
Thank you for your assistance.
Best regards,
07/23/2024 11:04 AM
Use ${task?.endpoint?.getOwnersEmail()} , you were trying tasks but it should be task
This should work, assuming that owner is added at below location at endpoint level
Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.
07/23/2024 01:58 PM
It's using User Group as Owner Type and I have test with ${task?.endpoint?.getOwnersEmail()}, but it's not working.
07/23/2024 02:16 PM
This email is triggering from analytics. In analytics query you need to attach report owner as endpoint owner group and then use ${ownerEmail}
07/23/2024 11:34 AM
07/23/2024 01:49 PM
It's printing the following:
date = 2024-07-23 20:42:54br> endpoint = nullbr> totalRecords = 255br> analyticsConfig = com.saviynt.ecm.analytics.AnalyticsConfigES : 1499br> endpointDisplayName = nullbr> baseUrlForEmail = https://release-n-plus-one.saviyntcloud.com/ECMbr> ownerEmail = br> out = java.io.PrintWriter@34eaad70br> [date:2024-07-23 20:42:54, endpoint:null, totalRecords:255, analyticsConfig:com.saviynt.ecm.analytics.AnalyticsConfigES : 1499, endpointDisplayName:null, baseUrlForEmail:https://release-n-plus-one.saviyntcloud.com/ECM, ownerEmail:, out:java.io.PrintWriter@34eaad70]
Appears not to be linking even the endpoint field.