Showing results for 
Search instead for 
Do you mean 
Reply
Member
Posts: 13
Registered: ‎12-22-2015

How to enable scripting in FFCore hot folders

[ Edited ]

Hi again Javier!

 

Can you reveal an example how to create manifest in HF with scripting? This would be a huge help with our workflows...

 

Thanking in advance,

 

Sami from Finland

 

 

FreeFlow Production Workflow Moderator
Posts: 2,298
Registered: ‎01-03-2012

Re: How to enable scripting in FFCore hot folders

[ Edited ]

Not sure the right level of detail for an answer. I would suggest that you engage the professional services group if you are looking for more in depth information.

 

In any case, here's a bit of a high level answer.

FFCore hot folders support use of manifests (csv files) to drive production. When a manifest is received, FFCore will parse the data columns in the csv file per the hot folder configuration and submit the job to the selected workflow (or use the routing rules to automatically select a workflow for the job in each manifest row)

 

The manifest fields are configured in the Hot Folder Setup tab.

We have a few "Standard fields" which are used to control job submission from the manifest.

Screen Shot 2017-05-23 at 1.43.56 PM.png

 

You can also add custom fields so set additional variables with information from the manifest

Screen Shot 2017-05-23 at 1.44.23 PM.png

 

After a manifest is parsed, FFCore will use the configuration in the Workflow Destinations to automatically select a workflow

Screen Shot 2017-05-23 at 1.47.59 PM.png

 

If you enable hot folder scripting then FFCore will execute the confired script before any other processing is done by the hot folder.

The configuration itself is pretty straight forward

Screen Shot 2017-05-23 at 1.49.59 PM.png

 

Under the hood FFCore will concatenate the path to the script along with the parameters and execute the script as if it was executed from the CLI. There are no requirements on the script itself. If you can get it working from the CLI then you can configure it to execute when a file is dropped into the hot folder. The only requirement that the script output a valid job file and place it at the location defined in the $$out$ variable. The file does not have to be a manifest but that is what most customers implement.

 

 

Member
Posts: 13
Registered: ‎12-22-2015

Re: How to enable scripting in FFCore hot folders

Thanks Javier and sorry for the not so informative description ;-)

 

We´ve done max workflows using csv-files, so that´s ok. What I would like to do, is to create a csv from a pdf-file when dropped to HF and use MAX with this csv. In csv I´d like to have columns for the file name and then generate a few static data columns. I´m a real novice in scripting (but eager to learn!), and don´t have a clue how to do this...

 

Br,

 

Sami

Member
Posts: 13
Registered: ‎12-22-2015

Re: How to enable scripting in FFCore hot folders

Hi again!

 

Regarding to this matter Jyri Salmi from level 2 contacted Solution and Workflow Analyst Marko Liukkonen who then phoned me. Now the situation is, that Marko is no longer working with Xerox: Who could I ask for help in this matter now?

 

Sunny greetings from Finland,

 

Sami

Highlighted
Xerox Analyst
Posts: 66
Registered: ‎10-25-2011

Re: How to enable scripting in FFCore hot folders

Hi Sami,

We have a Nordic team. I will contacrt you shortly.

/Per