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

Question

Question

LFF5203

asked on February 27, 2017

I have a laserfiche form that triggers a workflow. The form is configured not to wait for the process and its only purpose is to gather data for the workflow. The process was working fine until the upgrade to 10.2 and now the forms triggers two workflows. When I check into the Windows log I see the error "The call to Laserfiche Workflow API was not successful. (The operation has timed out.). [LFF5203-WFServerApiFault]".

I looked and there was a previous comment about this and it suggested to adjust timeout settings or re-submission on failure settings but I have not been able to find out where those are.

Again the forms process works without a single problem and the workflow does too the only problem is that when the workflow gets triggered twice, I find myself with duplicate entries.

 

Capture.PNG
Capture.PNG (7.07 KB)
0 0

Answer

SELECTED ANSWER
replied on February 28, 2017

You can change the value of "AutoRetry" in cf_options table of the Forms database to false and then restart Laserfiche Forms Routing Service from Windows Service to disable the auto retry.

1 0

Replies

replied on February 28, 2017

Did you run into the issue the workflow was triggered twice every time run this process or just ran into it once? With Forms 10.2, we added auto retry mechanism for suspended service task, so the possible cause of this issue is the workflow was triggered first but got [LFF5203-WFServerApiFault]"error so the workflow service task was suspended so the auto retry will retry the suspended instance again to trigger the workflow again and this time no error any more.

1 0
replied on February 28, 2017

Xiuhong, Thanks for your response. I never got this issue before on 10.1 but now that we upgraded to 10.2, it happens most of the time (aprox 80% of the time) that the process is running. so almost every time the process is run, we get the duplicate entries. Is there anyway to disable the auto retry? we never had issues on the past with processes not finishing.

1 0
SELECTED ANSWER
replied on February 28, 2017

You can change the value of "AutoRetry" in cf_options table of the Forms database to false and then restart Laserfiche Forms Routing Service from Windows Service to disable the auto retry.

1 0
replied on March 3, 2017

that worked great. thanks.

 

 

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

Sign in to reply to this post.