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

Question

Posted to Laserfiche Lounge

Setting variables in an existing Form from a Worklow

asked on June 1, 2016 Show version history

Hi,

 

I have a LF form . This form is filled and then it calls a Workflow. The workflow creates a document in LF and I need to get the URL of this doc back in a field in the form. I get this URL with the activity "Generate Web Access URL" but I don't know how ti send it to the existing form.

 

Does anyone know how to make it ?

 

Thanks for your help

 

0 0

Replies

replied on June 1, 2016

Have you looked at the Set Business Process Variables activity yet?

0 0
replied on June 2, 2016

Hi Miruna,

we have thought of this activity. It will allow us to set variables. Our problem is how to set them IN THE EXISTING FORM and not in a new Form

 

Thanks

0 0
replied on June 2, 2016

If you're saying you want them set as the user is looking at the form, sort of lookup-style, that's not possible. Other than that, they are not dependent on the form, so the values would show in the form in any steps following the WF service task one.

Maybe you can give us more details on what you're trying to accomplish so we can propose better solutions.

0 0
replied on June 2, 2016

We have a Form BP with 3 Forms.

- A user make a request with a 1st Form

- another user answers to the request with a 2nd form which is a copy of the 1st Form with additional Fields

- the Request is then saved in LF as a PDF and a WF is started. It makes a copy of an existing document and we want to have the WebAccess URL of the new doc in the Forms.

We have tried to use a 3rd Form which is a copy of the 2nd form with additional Fields like "Url of the new doc"

In the WF, we have used the activity"Set Business process variables" to set the Field "Url of the new doc" with the URL of the doc created in the WF.

At the next step of the Form BP, we use this 3rd Form but the field "Url of the new doc" remains empty.

0 0
replied on June 2, 2016

Have you looked at the workflow instance details? Did it find the document?

0 0
replied on June 2, 2016

If you mean the doc created by the WF, yes, it's been found and the values stored in the Generate Web Access URL is OK

0 0
replied on June 2, 2016

This works for me.

The Forms service task that calls into Workflow is set to wait for the workflow's completion. The user task follows the service task in the process flow.

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

Sign in to reply to this post.