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

Question

Question

How can i flip my 'Completed' status Forms in Monitor to be 'Suspended' so i can retry them?

asked on October 5, 2023

I had about 150 forms suspend due to an issue with an updated password that was used in the profile on each form - updated each form and retried them all, all 150 are now 'Completed' status in the monitor..... but, the workflow terminated for each! same issue, need to update the password and republish each workflow, okay, did that.

but now i can not tell how to recover these; most of the forms only used a Workflow Task, so i don't have something saved to the Repository. i know for a fact that it's possible to flip Forms in the Monitor from 'Completed' to 'Suspended', which allows you to retry them, since i've seen Laserfiche staff in these forums talk about it, but none have included instructions.

how can i flip my 'Completed' status Forms in Monitor to be 'Suspended' so i can retry them?

0 0

Answer

SELECTED ANSWER
replied on October 9, 2023

In best practice you should never continue in your business process before a WF call is complete, always wait for the workflow to complete to make sure there is not any errors. This way they will suspend on the workflow task allowing you to retry once resolving the issue. It seems the reason your BPs are in a completed status is because your WF call activity is not waiting for the workflow to complete, it is just calling it and moving on.

I am not aware of any general way to change the status of a BP, it is simply a global status for search purposes.

There is a way to recover and re-run the workflow though. In the workflow designer you can choose the retreive business process variable activity and click the gear icon in it's properties on the right. This will allow you to enter any instance ID that you want to re-run the workflow against. When you manually run the workflow it will run as if though that completed instance just called the workflow again (with all the variables information from whatever it was at the end of the instance).

To re-run on a list of instances, you could invoke the workflow in a for each value loop.

1 0
replied on October 9, 2023

Unfortunately, these BPs were set to not wait until WF completed - moving forward we'll switch to that. Evidently what I was looking for was just a table in the database, you can manually set the status to suspended which lets you retry the entire thing again - we did not end up doing this because we ended up just re-running the workflows per-instance like you had said. Tedious, but it worked.
From what I've read, this is a feature in newer versions of LF - being able to retry even if it completed.

0 0
replied on October 18, 2023 Show version history

Hi Scott,

In Forms version 11, it is supported to restart completed instance from a user task. Is it applicable to your process design?

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.