on 11-20-2014 7:22 AM
Hi All,
I did setup below couple of events.
Event_test: D:\home\in\test2
Move dir: D:\home\out
Event_test1: D:\home\out\test2
Move dir: D:\home\in
In the above scenario both events are in loop. After i enabled them, both events got raised. At the same time I see many instances of Event_test and Event_test1 coming into pending status.
How come the other instances are coming into pending status though the file is not in the source directory?
Also I have not cleared the intial events which got raised and I didn't setup any automatic clear of the events.
Could you please advise.
Thank you so much in advance.
Regards,
Ramana
Hello,
File events will get raised when a file is detected, but they will queue up to get raised such that always one event is raised at any time. This is the expected behavior.
Regards Gerben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ramana,
Since you are moving the files around, each file event detects a newer version of the file all the time making the event fire.
So file comes in in 'in', event fired, move file to 'out', file detected in 'out', raise event, move to 'in' etc...
The file events do not care about what happens to their files in the mean time, they are only looking out for files that match their pattern that they have not seen before (timestamp).
Hope this helps.
Regards Gerben
Hi Gerben,
Thank you.
The file is not moving from the 'in' directory as I have not cleared the initial events which were raised. The file again came back to the 'in' directory after the first loop . Still I am confused how come the other instances for 'Event_test1' are in pending status if the file is in the 'in' directory(source directory of Event_test)?
Regards,
Ram
Hi Ramana,
You can only ever have one event of a specific event definition raised at any given time. So, if you copy 10 files that match the pattern of the file event, 1 event will be raised, the 9 others will be pending. As soon as you clear the raised event, one of the pending events will be raised, and you will have 1 event raised, 8 pending and 1 cleared.
Regards,
HP
Hi Carpenter,
Here I have only one file 'test2' that match the pattern of the file event in the soure directory. But how come the other instances of the same event are in pending status. Please advise.
Event_test: D:\home\in\test2
Move dir: D:\home\out
Event_test1: D:\home\out\test2
Move dir: D:\home\in
Regards,
Ramana
Hi Ramana,
You can only ever have one event of a specific event definition raised at any given time. So, if you copy 10 files that match the pattern of the file event, 1 event will be raised, the 9 others will be pending.
If you now copy another file, 1 will be raised, 1 cleared, and 10 will be pending.
Clear all events, and try again.
Regards,
HP
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.