Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

How to send the email through analytics when we have 0 records.

Prashant
New Contributor III
New Contributor III

Hi,
Can you please help me with below query ?
"How to send the email through analytics when we have 0 records."

Thanks

Prashant

7 REPLIES 7

dgandhi
All-Star
All-Star

Do you means reports are not getting delivered when the analytics query fetches 0 record?

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.

SumathiSomala
All-Star
All-Star

@Prashant Even if the record count is 0 , email will be triggered to intended members after analytics job ran.

Are you facing any issue?

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

Prashant
New Contributor III
New Contributor III

 Yes @SumathiSomala  and @dgandhi ,

When the analytics results 0 value Email template is not triggering .

@Prashant  refer below forum threads

Analytics Email - Query return 0 Record - Saviynt Forums - 56805

No Email Notification On Empty Analytic Report | Saviynt Ideas Portal

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

Prashant
New Contributor III
New Contributor III

Hi @SumathiSomala ,

Thanks for sharing it ,IAS per the refrnces in EIC version it won't trigger the email template when the query return 0 value.
please suggest any alternative method ,if possible 

 

 

This is expected behavior.

https://ideas.saviynt.com/ideas/EIC-I-5108

 

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.

This is expected behaviour  that it won't send email but if still need email then you can create another analytics where it will show analytics with zero records.

SELECT analyticsname,
       Substring_index(Substring_index(metadata, '"totalData":', -1), ',', 1) AS
       totalData
FROM   analyticsconfiges
WHERE  Substring_index(Substring_index(metadata, '"totalData":', -1), ',', 1) =
       0 

https://ideas.saviynt.com/ideas/EIC-I-5108


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.