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

Question

Question

Workflow Running Over and Over Again

asked on June 1, 2018 Show version history

I tried Mark Brideson's solution listed at the end of:

https://answers.laserfiche.com/questions/128219/Workflow-repeats-when-failing#128326

It didn't solve my issue, so here's my question.

This process starts in Forms. I ask the user for 2 pieces of information:  Document Number and Revision.

From there, I start a workflow that queries LF and provides variable values back to multiple (mostly hidden) fields within the form:

Everything seems to work just fine (I do get the variable data I'm looking for back into Forms ... yay, me!).

The problem is that the Form and Workflow tasks restart over and over again:

The only way to stop it is to delete the Forms process and reimport it (what a pain that is!).

Please tell me it's a simple fix.

0 0

Answer

SELECTED ANSWER
replied on June 4, 2018

You are correct. I used Invoke Business Process instead of using Set Business Process Variables. Once I changed it, it worked beautifully! Thanks!

0 0

Replies

replied on June 1, 2018

This is just a guess because there isn't enough information but I would guess that your conditional activity does not evaluate the way you expect. So instead of ending the workflow, it starts another form instance, which in turn starts another workflow and so on.

Try double-clicking one of the instances in the search results in Workflow and looking at the Conditions tab to see if it gives you more insight into what happened.

0 0
replied on June 4, 2018

Does this help?

 

Here are more details:

Thanks!

0 0
replied on June 4, 2018

It confirms my guess on what is going on.

What is the use case you're trying to solve here? Why is this workflow set to start another instance of the same Forms process?

0 0
SELECTED ANSWER
replied on June 4, 2018

You are correct. I used Invoke Business Process instead of using Set Business Process Variables. Once I changed it, it worked beautifully! Thanks!

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

Sign in to reply to this post.