Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Waiting for events

Status
Not open for further replies.

leightur

IS-IT--Management
Jan 25, 2008
42
GB
Ok this is a long shot but I am sure I am not the first!

I would like to send an email if the size of an exported PDF is > 20kb

I have two reports:

1. Exports the report to PDF to a default FTP folder.
2. Emails the PDF based on a event that waits for a PDF to arrive within a folder.

1. exports every 15 minutes, the report checks the FTP server for activity, the exported report blank is approx 20kb

If the report is > 20kb I would like a batch file or alternative that will monitor the size and if > 20kb move to the FTP drop folder to trigger the email in step 2 to be sent.

I will then run a script that will delete the file once the email has been sent.

Thanks in advance

Leigh
 
You could do that in VB Script.

1. Schedule your report to destination

2. Using a schedule event then kick the VBS or whatever script which will check the size

3. The script could email the report (outside BO using objMessage.Send)

There is a great tool called Instance Analyser ( but it doesn't have that feature. They are working on a new release, maybe you can ask them if that can be added!


Business Objects Consultant and Trainer
BOCP - BOE and CR & Official Migration Specialist

BI Toolkit - Offices in UK and Holland
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top