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

Question

Question

How to resume Forms Workflow when a LF Workflow terminates

asked on January 24, 2017 Show version history

Hi,

Our customer is using LF 10.1 RIO with Forms.

I have a Workflow Service Task in my Forms Process configured with property 'Wait for the workflow to finsh before proceeding?' set to Yes. The Laserfiche workflow (sub-workflow) has a pause until waits until a certain condition is met. When it is met, it completes and the forms process resumes.

For some reason, my Laserfiche workflow terminated. See the attached pic. 

I do not see the Forms process as suspended anymore and so there is no Retry option on it. This workflow is almost at the end so restarting this instance from scratch is out of the question as there are multiple users involved.

The Forms process is not in suspended state.  The Workflow Service Task Status reads In Progress so there is no Retry option here. Is there an option to somehow resume this process? 

I also noticed one more instance where Laserfiche Workflow terminated and the Forms process is stuck in In Progress with no option to retry or resume. The terminated Laserfiche workflow is no longer showing because after 3 months terminated workflows disappear.

has anyone encountered this? If yes, please can you guide me?

 

0 0

Replies

replied on January 25, 2017

The error indicates the workflow never started because the Workflow Server is not properly configured. If this is a United installation, your Workflow Server needs a license. If it's an Avante or Rio installation, the Workflow Server needs to be set up to monitor a repository to be considered licensed.

0 0
replied on January 26, 2017 Show version history

Hi Miruna,

Thanks for answering.

Apologies, my error screen grab is misleading so removed it. That error happened because of a hardware fingerprint change following a server reboot. I was able to retry and resume this workflow.

After resuming, a service task invoked a Laserfiche Workflow which in turn invokes new forms processes. I can see those sub-sub-forms processes having executed and completed successfully. The Laserfiche Workflow which waits for all forms sub-processes to complete terminated and since three months passed, it disappered.

I can see a couple of other forms process instances that are in suspended state because their Laserfiche Workflow terminated. I can retry and get them working but 326 in the below pic. I can resume suspended ones by retrying but 326 has no retry option.

The reason for termination is we had a runaway process which caused the workflow server to run at high CPU for a short period and might have terminated some of these Laserfiche workflows which were at the time in a wait/pause activity.

Is there a way to advance a Forms workflow when the retry option is not shown ?

0 0
replied on January 26, 2017

There's not enough information to troubleshoot. Workflows waiting for user action are not likely to terminate under high CPU conditions since they're already persisted in the database and not actively running. 

When a workflow instance is terminating, that's communicated back to Forms.

It's probably best that you take this to Tech Support so they can track down all the logic of this process.

 

0 0
replied on January 29, 2017

Thanks Miruna,

I have logged a support call. If we resolve this issue, I will come here and post the summary.

Thanks Again.

0 0
replied on May 2, 2017

Have you found a solution?

0 0
replied on May 3, 2017 Show version history

Hi Lidija, 

No, unfortunately there is no way to fix this issue. I contacted LF support and they confirmed it.

I have added better error handling steps in the workflow and have developed additional workflows to kick things off from where the error had occurred.

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

Sign in to reply to this post.