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

Question

Question

In Workflow attempting to Set an Attachment field in a Form.

asked one day ago

So here is my situation: 
I have a workflow with Word Document with merge tokens that the workflow is performing a merge with using the data from a submitted form. 
This is working fine and we get a Word Document output in the format the client wants.


I then want to take the Word document output and set a Business Process Attachment field to have the output file to be included with the Form Process so reviewers can review the Word Document as an attachment to the form. However I can't seem to select an attachment field when I have a Set Business Process Variables task in my workflow.

Has anyone done anything like this before or know of way to accomplish this? 

It seems weird that I would need a step for someone to retrieve the file from the repository and attach it to the form instead of being able to do that directly with a workflow but I can't find the workflow tasks that would let me do this.
 

0 0

Replies

replied 18 hours ago

A co-worker sent me a link to this article:
https://answers.laserfiche.com/questions/100588/How-to-insert-repository-documents-into-Form-upload-fields-solution-inside#repliestomain

This is an article from over 10 years ago using unsupported methods of modifying the Forms Database to accomplish the task, showing that it can certainly be done and how to do it.
Multiple people have responded to article requesting the functionality to be added to Laserfiche out-of-the-box.

To Date, the only responses from anyone from Laserfiche on the article is repeated statements that "Modifying the database directly for any of the Laserfiche products was never supported." 

It seems to me that Laserfiche has had a solution for implementing this requested feature for over 10 years and has done nothing with it despite multiple users requesting it be made available out of the box.

There are times I love Laserfiche, and there are times I weep over what it could be.

1 0
replied 15 hours ago

My basic approach is to generate a URL to the document and then pass it back to the Form to be displayed in an iframe. I regularly create double page wide forms where the fields are on one side and the document displayed on the other. At least this way the Document is still protected by Repository security if the task gets passed around.

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

Sign in to reply to this post.