CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Email report but only if the report has content?
Pages: [1]

Author Topic: Email report but only if the report has content?  (Read 934 times)

SweetTooth

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 1
  • CiviCRM version: 4.1
  • CMS version: Drupal 6.20
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
Email report but only if the report has content?
November 09, 2011, 02:41:36 am

Hello,

On my website, people fill in a form to request more information about my organisation. It's then added to a group.

For each branch of my organisation, I want to generate a report and have it run by cron, emailing the branch, based on dynamic groups, which may return data or of course it may not.

Obviously I do not want blank reports emailed to these people on a daily basis! How can I achieve this?

Thanks!


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Email report but only if the report has content?
November 10, 2011, 04:40:19 am
I do not know if the automatic CiviReport emailer can be set to NOT email blank reports. Best is to run a test. If it fails, then you could always custom code this feature.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Email report but only if the report has content?

This forum was archived on 2017-11-26.