File Trigger (Problem) with "Put Job in Queue" - Version 4.9.35 - VisualCron - Forum

Community forum

adutoit
2008-11-11T14:40:40Z

The information contained by the trigger (file,path,etc) does not appear to be saved along with the job placed into the process queue.

The requirement is to pass to a program the file-name that caused the trigger. The VC variable {TRIGGER(,File.Result.Name)} is used in the command-line to pass the file-name. For eaxmple - Files can arrive at 5 second intervals; the VC Job can take 20 secs to complete.

The "Put Job in Queue" enabled. I can confirm that VC behaves as advertised as no triggered jobs are "lost". However the {TRIGGER(,File.Result.Name)} does not appear to be queued along with the job. Thus the same {TRIGGER(,File.Result.Name)} value is passed to multiple jobs.

Could VC support advice if this is a bug or should be considered a feature request?





ErikC
2008-11-11T14:45:18Z
I have a same setup over here, but I have all the paths needed for every file. I use the following variable:

{TRIGGER(Active,LastTrigger,File.Result.FullPath)}

So from the VisualCron variables \ Jobs \ Active Job \ Triggers \ Last Trigger \ File

Regards,
Erik
Uses Visualcron since 2006.
adutoit
2008-11-11T14:59:56Z
Erik

Thank you for your assistance. By referencing the Active Job Trigger Event stack it works fine.
Cheers
Anton
ErikC
2008-11-11T15:01:05Z
🖐

Regards
Erik
Uses Visualcron since 2006.
Scroll to Top