11-17-2022 11:04 PM
Hi Team,
We have analytics report scheduled , How to send email - only when there is result set/data returned by sql query.
11-18-2022 10:27 AM
Use below condition in TO email template
<%if (totalRecords.equals(0)) print "NULL" else print "${ownerEmail}" %>