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

Question

Question

Retrieve Laserfiche Form Content not passing values?

asked on December 5, 2017

I have a situation after upgrade to 10.1 (so for sometime now) where in my workflows that are setup in Forms to "Wait for the workflow to finish before proceeding?" =Yes, sometimes due to a server blip or a workflow being terminated, another workflow is started but this time it seems like the values it is supposed to pull from the "Retrieve Laserfiche Form Content" are empty (I have a token following that action and no tokens are assigned).

Has this happened to anyone else and how do I fix it?

Thanks!

0 0

Answer

SELECTED ANSWER
replied on December 13, 2017

Maybe your process has some special design so Workflow could not get the correct form submission. Can you open a support case still? We would like to know how your process was designed.

0 0

Replies

replied on December 6, 2017

Hi Lidija,

I think there was no auto retry function in Forms 10.1. So in your question "sometimes due to a server blip or a workflow being terminated, another workflow is started", did you retry the Workflow service task on Forms manually?

And which version of Workflow did you use?

0 0
replied on December 11, 2017 Show version history

Hi Rui, thanks for replying!

I have 33 suspended tasks that when I try to retry, I get that there is no data captured from the Retrieve LF Forms Content activity (one of the first steps is to based on the form info it searched for the original form that was submitted, if not found I get an email letting me know some details but in this case the email only has tokens and no values).

In my track token I see that it is capturing some values from the form and not others but it doesn't make sense why! Those fields are populated.

I am using 10.2.0.216 Workflow.

 

 

0 0
replied on December 11, 2017

Hi Lidija,

I don't quite understand what is the "one of the first steps is to based on the form info it searched for the original form that was submitted", is there a different workflow? Is this workflow started by another form?

If workflow is terminated, Forms instance would be suspended, and retry on Forms instance would start a new but the same workflow with the original data so you don't need to search for the "original form".

 

0 0
replied on December 12, 2017

It is a complicated workflow and the original form is the very first one the user submits for the same process so technically it is unrelated. (Simplified Example: I was issued an Agreement to teach MATH 101 (so this is my 'original' form) and a workflow runs until the form metadata gets marked with "finished". When I go to accept and hit submit, another workflow kicks off that finds that 'original' agreement and is supposed to mark the original as 'finished' so the first workflow off the original form stops reminding me to complete the agreement.)
My situation is that I have suspended workflows from the accepted agreement because the workflows keep terminating since the "retrieve LF form content" action sees all fields as blank even though in the form they are obviously filled out (otherwise users couldn't hit submit since the fields are required). 

When I retry suspended tasks, the "retrieve LF form content" (visible via token) has no values.

It is a really strange issue.

0 0
replied on December 12, 2017

On the workflow that is started by Forms, did you have the "Started by Laserfiche Forms" option checked? This is not related with the token being empty issue but it could help check the issue.

If you have this option checked, can you check the tokens like "bp instance id" and "submission id" and see if the values match the ones on Forms instance history?

It look like this:

When you found the submission that match the one on Workflow, can you check click the step name and view submission on Forms and see if the values match?

If the submission id match but the values do not match, then it could be a bug. In this case, can you open a support case and give us your workflow/forms process so we can further check the issue? Thanks.

1 0
replied on December 13, 2017

So what do I do if the "SubmissionBPInstanceID" matches the LF Form, but the FormsSubmissionID is 0? (Not the case for all of my suspended forms but a few)

Thanks for the tip about the  "Started by Laserfiche Forms" option!

0 0
SELECTED ANSWER
replied on December 13, 2017

Maybe your process has some special design so Workflow could not get the correct form submission. Can you open a support case still? We would like to know how your process was designed.

0 0
replied on December 14, 2017

Thanks, I will have to go through my VAR to open it. Another thing is that only those 10 forms have issues - this is a LF Forms and Workflow that have been running for about a year now and I haven't had these issues before. Thanks for your help Rui!

0 0
replied on January 27, 2020 Show version history

Hey @████████ and @████████

Were you ever able to determine what was causing this issue?  Because I'm seeing the same behavior on occasion.

While the first workflow is still in progress, a second workflow is kicked-off, with no data passed across from forms to the second workflow.  The second workflow finishes and reports back to forms that the workflow is complete.  Forms moves on, even though the first workflow (which it was supposed to be waiting for) is incomplete.  In my case, the workflow in question is checking every hour for a change to a database record, and completes once the record is complete.  The way the database record is stored, a blank value from forms ends up evaluating as complete, so the second workflow completes promptly without issue.

Then, when the first workflow actually completes (or I manually complete it), it actually causes the form process to terminate as well.

How does it not know that the workflow is already running?  And why doesn't it pass values to workflow?

Thank you.

 

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

Sign in to reply to this post.