The preflight reports are generated by the Preflight component so place that component before the external component in the workflow.
After preflight you can use the external component to invoke blat (or any other CLI email client) to email the preflight report.
You can see an example here:
I am having similar issues. We just got Freeflow Core and I am trying to get our Preflight workflow under way.
Question 1. Do we need to set-up Notifications in the Administration tab in order to generate preflight reports via email?
Question 2. Could you give me an example of what the script and parameters would look like in Blat in order to generate a preflilght report?
Would appreciate any info you could give.
Thousand thanks AnwarG! And great news - it worked! Meaning I used the script and the parameter You sent and works smoothly...
Happy as can be :-) Very happy...
Sami from Finland!
Have you checked the error log? That usually gives some more information about what is wrong with the script.
C:\Xerox\FreeFlow\Core\Data\00000000-0000-0000-0000-000000000000\Data\Scripts\External Process Status\stderr.log
We have a similar script running that works, should work for you aswell.
copy *.* D:\HOT_OUT\KUOPIO
Tried this, but sorry to say didn´t work :-(
The script was: copy %2 D:\HOT_OUT\KUOPIO, parameters $FFin$ $FFwfJob.preflightReportUri$, but no luck, still gives exit code 1...
But thanks anyway. Any ideas what to do now?
Try the following settings:
Parameters: $FFin$ $FFwfJob.preflightReportUri$
Script: copy %2 D:\HOT_OUT\KUOPIO
%1 refers to the first parameter, %2 refers to the second parameter, etc etc.
One problem solved, but here comes the nest one...
I´m trying another way to handle these reports, copying them from the default Core location to D:. If I try the specific folder for one or another folder from CLI, everything works just fine, report copies to D:\HOT_OUT\ ok. Now I´m trying to do this onlien from Core using batch script, but all I get is an error. Above You´ll find the script itself and the parameters from Core, plus the error code from Core. I´m probably missing a thing or two, can´t just figure out, what...
The script: copy "$FFwfJob.preflightReportUri$" D:\HOT_OUT\KUOPIO
Finally had the chance to test this...
I can´t manage to get it to work even in Core CLI. Seems that the problem lies in the report file name. Debugger says that blat do not understand the space in the report filename (screenshot). I also tried this from the Core web client itself, returns code -1. If I put a file named A4.pdf to the same folder where the report is and send it with blat, everything works fine.
Any suggestions what to do now?
Sami from Finland