cancel
Showing results for 
Search instead for 
Did you mean: 

Event File Type

Former Member
0 Kudos

We have a file-based events. My objects that are setup waiting for a file-based event to occur for them to generate. My objects work fine manualy.

Simple but not working... any thoughts ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Larry,

The event object fires when the file is newly created. Also the schedule window of the report is important. If you set it to run hourly then it will only run once an hour no matter how many times the file trigger is created.

Regards

Alan

Former Member
0 Kudos

The objects are setup to Run - Daily, with Events.

Former Member
0 Kudos

Some other thoughts then

1) Is the file path setup so that the BO Server can see it. If you are unsure, try setting it to the c:\temp on the BO Server and try copying the file to there.

2) Is the Event Server running - check this is running and the account it is running under. This will give an indication as to where your file path is.

Regards

Alan

Former Member
0 Kudos

After much testing, I found that when the objects waiting for the event (i.e, the last instance status = "Recurring") it works fine. But once the last instance status = 'Success' it doest not. I understand the requirements when setting up event file type will trigger on a new file.

Does this make sense ?

Former Member
0 Kudos

Any thoughts?

Former Member
0 Kudos

Ok, found that the event (file type) works the first time but the scheduler does not recognize the event on the next date (new file).... the BOE server can get to the file, file name and location is the same.

any assistance will be most appreciated.

Thanks

Former Member
0 Kudos

Larry,

There are 2 things you should be aware of.

1) The schedule does not recognise updated files. Try deleting the file and recreating it

2) The schedule uses its recurrance window. So if you schedule the report hourly, and the file event happens 5 minutes into the hour, then it will not pick up the next file creation event until the remaining hour has past.

Hope this helps

Alan

Former Member
0 Kudos

Thanks Alan for your reply,

The report is schedule for Daily, with Event. The file gets created every time we need the report to run, which should trigger the event. Somehow, it runs the first time we schedule. We recreated the file and the event did not recognize the file.

I tested scheduling the report every hour it worked fine. But with event it did not. Maybe a better reboots solution would be on-demand. Do you have any sample code that I can use to generate my report on-demand? The job would be executing from an Oracle environmentu2026

Former Member
0 Kudos

Hi Larry,

If the report is scheduled for Daily it will only run once a day, no matter how often to create the event file.

To test this schedule it as hourly, with 0 hours and 5 minutes. Then try creating your file. It will fire the event and the report will generate. Wait 5 minutes and delete the file and create it again. The event should fire again and the report run.

I have not got any SDK code to hand but there are good samples on the net.

Regards

Alan

Former Member
0 Kudos

Thanks Alan for your reply, I did the test you suggested and works on hourly schedule. The daily with event works once a day as expected but does not on the next day when a new file is created.

Former Member
0 Kudos

I would raise that as a bug then. As it should work that way. I will have a look at this myself over the next week and update this to see if it worked okay for me.

Regards

Alan