and more in a single search tool across platforms. Read the announcement here. |
11/22/2022 10:17 AM
Hi Team,
Is there any way to get the total count of records/rows in analytics report. I would need total count of analytics data and based on count email has to be configured in To address of email template
Please help us here. @rushikeshvartak @avinashchhetri
Thanks,
Harish
11/22/2022 10:19 AM
<%if (totalRecords.equals(0)) print "NULL" else print "${ownerEmail}" %>
11/22/2022 11:11 AM
@rushikeshvartak- It is working fine. Thanks. Here my use case if total records are > 250 then ${ownerEmail} else "".
Can you please help me with the syntax?
Thanks,
Harish
11/22/2022 11:25 AM
<%if if(totalRecords.compareTo(250))>0 print "${ownerEmail}" else print "NULL" %>
https://compiler.javatpoint.com/opr/test.jsp?filename=IntegerEqualsExample3
if(objA.compareTo(objC)>0)System.out.println("greater");
11/23/2022 12:11 AM
Below one I tried it was working fine for me.
<%if(java.lang.Integer.parseInt(totalRecords.toString())>250) print "${ownerEmail}" else print "NULL" %>
Thanks,
Harish