I am having a small problem with inject lite function in switch 13.1.
If I choose at Target --> jobpath, a fixed path/file the function works fine. If the file is present it will go trough the "succes line" and if the file isn't present the job go trough the "error line".
When I change a part of the fixed path by a job variabele the fuction doesn't work anymore. If the file is present it will go trough the "succes line" but when the target file is not present it goes to the problem jobs.
problem inject lite
problem inject lite
- Attachments
-
- Schermafbeelding 2016-12-22 om 13.14.20.jpg (142.64 KiB) Viewed 18523 times
Re: problem inject lite
What does your message log say when the job is put into problem jobs?
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Re: problem inject lite
The log says:
Dynamic property 'JobPath' has invalid value '/Users/switch/Desktop/Robert/test inject/barcode/135038_VELD_WLB_90_665_905_Barcoded.pdf'
The file is not present at that path, so it should go to the error out line? The path is existing. only the file isn't.
Dynamic property 'JobPath' has invalid value '/Users/switch/Desktop/Robert/test inject/barcode/135038_VELD_WLB_90_665_905_Barcoded.pdf'
The file is not present at that path, so it should go to the error out line? The path is existing. only the file isn't.
-
- Newbie
- Posts: 2
- Joined: Fri Feb 15, 2013 4:38 pm
Re: problem inject lite
Hello,
I have same problem and I use "Job repository" instead of "Specific job".
Specific Job doesn't work with variable.
It will redirect file in Error folder if doesn't exist (like you need).
I have same problem and I use "Job repository" instead of "Specific job".
Specific Job doesn't work with variable.
It will redirect file in Error folder if doesn't exist (like you need).
Re: problem inject lite
Please try this version of the script: https://github.com/open-automation/swit ... -validator
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix