Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
How to error out/fail reports in iHub?
BIRT User
<p>Hello BIRT Guru's,</p>
<p>I want to error out the report for particular condition like when we don't have data or based on some flag.</p>
<p>We are running batch reports and we don't want to post blank/empty reports to customers. </p>
<p> </p>
<p>Hence i want to know if i can error out reports based on particular condition in iHub/BIRT.</p>
<p> </p>
<p>Note:</p>
<p>I am using iHub 3.1 server.</p>
<p> </p>
Find more posts tagged with
Comments
CodeRookie
<p>Ragu,</p>
<p>Hi! We have a similar situation with our scrap receipts report. If the report is blank, we don't want it to get mailed out to our vendors. To do this, we added a Data Binding to the report design called 'RowCount'. If the the report contains no data (or rows), RowCount gets a value of -1, which causes the Mailer Package to not be called, thus no blank report is emailed.</p>
<p> </p>
<p>Hope this helps a bit.</p>
<p> </p>
<p>Best Regards,</p>
<p>Scott</p>
CodeRookie
<p>Here's the example:</p>
<p> </p>
<p>