06/27/2023 03:26 AM
we are receiving analytics report with blank attachments, we checked them and found that there were some validation errors stored with them, the option we could think is to have them re-created but that does not sound a feasible option in the long run, hence we want to know any other option available like , we can clear the validation stored instead of recreating the reports again
Solved! Go to Solution.
06/27/2023 04:10 AM
Can you share error
06/28/2023 03:48 AM
Hi Rushikesh,
we dont have any such logs to share as of now , but as in Analytics Job run in the Job log details we see that there are some violation stored but in Run history of the report we see that there are no conflicts.
i am attaching some screenshots for your view and understanding .
06/28/2023 03:51 AM
06/28/2023 04:09 AM
Restrict using below condition in email
template <%if (totalRecords.equals(0)) print "NULL" else print "${ownerEmail}" %>
07/12/2023 01:38 AM
we have restricted the email template with the above solutions we still found that the analytics alert were trigerred with empty attachment
below is the snapshot of the same
07/12/2023 01:53 AM
Hi @Aparna ,
The code <%if (totalRecords.equals(0)) print "NULL" else print "${ownerEmail}" %> needs to be set in the TO field of the Email Template and not the body.
Thanks,
Armaan
08/01/2023 11:27 PM
Hi @armaanzahir ,
There are 2 reports which are still having blank attachments being triggered post the above solution implemented in the Email Templates.
08/02/2023 12:33 AM
Hi @Aparna ,
Can you check the run history, if it is 0 for all previous run instances?
Also, can you provide the report definition in a screenshot.
Make sure that the Save Data checkbox is ticked.
Thanks,
Armaan
08/02/2023 01:20 AM
Hi @armaanzahir ,
Yes its 0 for all run instances before .
below is the report definition , the above mentioned details are already mapped.