Original Message:
Sent: Feb 26, 2025 08:33 AM
From: Arun Choudhari
Subject: EVNT.FILE OBJECT ENDED WHEN NO FILE IN THE DIRECTORY
Remove first line from EVENT PROCESS tab and try
Original Message:
Sent: Feb 26, 2025 07:16 AM
From: Mylene Chalut
Subject: EVNT.FILE OBJECT ENDED WHEN NO FILE IN THE DIRECTORY
I tried that !
I get the following error message :
Runtime error in object 'EVNT.FILE.BR_FILE.EXISTS.MYLENE', line '00001': Event type is not 'Console'
What does that mean ?
------------------------------
[JobTitle]
[CompanyName]
[State]
Original Message:
Sent: Feb 26, 2025 01:00 AM
From: Arun Choudhari
Subject: EVNT.FILE OBJECT ENDED WHEN NO FILE IN THE DIRECTORY
You need to remove file changed in file option keep it blank, then in right pane i.e time parameters you can select repeatedly option and time interval
Original Message:
Sent: Feb 25, 2025 12:58 PM
From: Mylene Chalut
Subject: EVNT.FILE OBJECT ENDED WHEN NO FILE IN THE DIRECTORY
Ok so for time being, I created a Time Event that runs every 2 minutes and triggers my File Event if it is not already activated. I hope I will be able to make this work only with the File Event to avoid supporting 2 objects for nothing.
I am waiting for your answer ;-)
------------------------------
[JobTitle]
[CompanyName]
[State]
Original Message:
Sent: Feb 25, 2025 11:09 AM
From: Mylene Chalut
Subject: EVNT.FILE OBJECT ENDED WHEN NO FILE IN THE DIRECTORY
Hello guys !
I am trying to do something really simple : Start a JOBP when there is one or multiple files added in a windows folder.
As long as there are files in the folder, the JOBP gets triggers. However, when there are no files in the folder, the EVNT.FILE ends with status ENDED_OK and I get the following message in the LOG report :
Error in function checkFileChanged(): the system cannot find the file specified '\\fld6filer\BrsSystems\JobApp\Dev\mlegaultpython\file_exists_test\*'. Error '18', error description: 'There are no more files.'.2025-02-25 10:43:22 - U00011166 System message: ''
I was under the impression that the object would execute every 2 minutes even if there were not files in the folder. Can somebody please help me with this ?
Thanks a lot in advance :-)
------------------------------
Mylene
------------------------------