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

Question

Question

Input Parameter for Workflow or Business Process.

asked on January 4, 2024

Hello, 

 

Can we pass a file that has been uploaded on a form in the upload file field as an input parameter when calling a workflow to run in the business process? 

When I currently use a workflow service task in my business process and try to use the variable associated with the upload file field to get the file that option is not there in the list of field variables.

Does some one happen to know if this can be done?

Thank you for helping.

0 0

Answer

SELECTED ANSWER
replied on January 4, 2024

This feature is not available in Laserfiche Cloud at this time.

1 0
replied on January 4, 2024

Thank you, I understand.

 

0 0

Replies

replied on January 4, 2024

I'm not sure what you're trying to achieve, but you could use a Save to Repository task in your business process, and Workflow could then find the file in the repository path where it is saved.

1 0
replied on January 4, 2024

Yes, that is an alternative we are considering at the moment. Thank you. 

0 0
replied on January 4, 2024 Show version history

First step is to save the Attachments to a Temporary space in your Repository (Don't need to save the form, just the attachments). Then under the Process Variables Tokens you will find a Token named "Attachment List". You can pass this token to your workflow which will provide the Attachments Entry ID's to your WF input token. The format of the data passed over is "1,2,3", so you need to parce that into a multi-token variable. You can use the Token Editor Function "Split" on comma to do this.

You can then use a Find Entry with each Entry ID in a loop to perform what actions you need to file the documents appropriately with your workflow/

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

Sign in to reply to this post.