Analytic report triggering empty attachment.

Aparna
New Contributor III
New Contributor III

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 

9 REPLIES 9

rushikeshvartak
All-Star
All-Star

Can you share error 

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 .

Aparna
New Contributor III
New Contributor III
 

Restrict using below condition in email

template <%if (totalRecords.equals(0)) print "NULL" else print "${ownerEmail}" %>

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 

Aparna_0-1689151100535.png

 

armaanzahir
Regular Contributor III
Regular Contributor III

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

Regards,
Md Armaan Zahir

Aparna
New Contributor III
New Contributor III

Hi @armaanzahir  ,

There are 2 reports which are still having blank attachments being triggered post the above solution implemented in the Email Templates.

 

armaanzahir
Regular Contributor III
Regular Contributor III

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.

armaanzahir_0-1690961623711.png

Thanks,

Armaan

Regards,
Md Armaan Zahir

Aparna
New Contributor III
New Contributor III

Hi @armaanzahir ,

Yes its 0  for all run instances before .

below is the report definition , the above mentioned details are already mapped.

Aparna_1-1690964392529.png