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

Question

Question

save not storing current metadata

asked on August 22, 2016

We have a workflow where invoices are passed through a series users for varying levels of approval.  I have just been informed that when an invoice gets stuck (ie does not move on as it should from one user to the next when it's saved), if the current user restarts the business process, some of the fields they had filled revert to default values and some do not.  What am I missing?  I can't see any difference in the field setup between the one that is not saving and the ones that are.  Sorry i'm pretty new to this.

Thanks!

0 0

Replies

replied on August 22, 2016

It would most likely depend on your workflow and what the user is doing. Workflow doesn't know it ran on the document before and it's been restarted. So it would run with the field values currently present on the document. It's possible that the user blanks out some values before restarting the workflow, but misses others.

You could modify the workflow to check which fields should be blank in the beginning and if they're not, as the first step, set them to blank so the rest proceeds without errors.

1 0
replied on August 22, 2016

Thanks Miruna! 

I ended up looking at one of the custom scripts that was written by the Laserfiche gurus for us when this workflow was initially created and it turns out there was a line that specified to default the field value of my 'problem field' to a specific value rather than what is entered, which in retrospect makes perfect sense.... I have since deleted that line in the script and my problem appears to be solved! 

0 0
replied on August 22, 2016

Yeah, that would do it too. Glad to hear you solved it.

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

Sign in to reply to this post.