You are viewing limited content. For full access, please sign in.

Question

Question

How to save a form uploaded file using a workflow script

asked on March 31, 2017 Show version history

I have a project that involves a file getting uploaded onto a Laserfiche form. This form then goes to workflow where Tokens get assigned and then to a custom script. I am trying to figure out how to handle a file upload in a script. How do you save the uploaded file to a disk location. Or better still, I'd like to read this file , line by line, in a script (it is a text file that is uploaded) . Any ideas or sample?

0 0

Replies

replied on March 31, 2017

They're not available directly. Retrieve Business Process Variable can download the files for you and then you can use For Each File to attach them to Laserfiche entries. From there your script can download them and read them. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.