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

Question

Question

WF "Retrieve Forms Content" timeout issue

asked on August 18, 2016

Workflow is timing out when trying to retrieve the forms content from some very, very large forms.  I'm wondering if there's a way to update the timeout for the activity itself, or for workflow's web requests in general.

 

I had an issue with these forms storing to Laserfiche initially, and that was resolved by updating the timeout listed in this hotfix: https://support.laserfiche.com/kb/1013483/list-of-changes-for-laserfiche-forms-9-1-1-hotfix-1013483-

0 0

Answer

SELECTED ANSWER
replied on August 22, 2016

The default timeout is currently 5 minutes. You can change it in the workflow_server_options table:

 INSERT INTO workflow_server_options
  VALUES('FormsFileGeneralOperationTimeout','300000')

The value is in milliseconds (so the query above just makes the default explicit). Change 300000 to your desired timeout.

If you have large attachments, you might also want to modify FormsFileDownloadOperationTimeout.

0 0
replied on August 25, 2016

Excellent, thanks!

 

I did end up applying a workaround with the Try/Catch.  It would try the Retrieve LF Forms Content and if it failed it repeated it with the HTTP Get Request using the Forms API "formsserver/instance/(instanceid)/submission/(subid)" (<-take that formatting with a grain of salt).

Then I was able to assign a custom timeout of 10 minutes.  The workflow was only looking for one field value, so the Read XML configuration was pretty easy.

0 0

Replies

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

Sign in to reply to this post.