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

Question

Question

Bad field value ('Instance ID') & Bad field value ('Submission ID')

asked on October 3, 2019 Show version history

Hi, 

We have a process that is repeatedly getting stuck at a Save To Repository task with the following error:

An error occurred during the execution of the Save to Repository service task. [LFF5426-ErrorExecuteSTR]

Details:
URL: 
Error: ErrorExecuteSTR
Date: 10/2/2019 3:10:41 PM (Pacific Standard Time)
HTTP Status Code: 500
Business Process ID: 35
Instance ID: 80439
Business Process Name: AP - Accounts Payable

Other:
Bad field value ('Instance ID'): Another operation on which this operation depends failed. [9054]
Bad field value ('Submission ID'): Another operation on which this operation depends failed. [9054]

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An error occurred during the execution of the Save to Repository service task. [LFF5426-ErrorExecuteSTR]
   at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)
   at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext)

Inner exception: Laserfiche.RepositoryAccess.MultiStatusException
Message: Multistatus response. [9039]
One or more required fields were omitted or had a blank value. [9066]
Another operation on which this operation depends failed. [9054]
Another operation on which this operation depends failed. [9054]
   at Laserfiche.RepositoryAccess.EntryInfo.Save()
   at Laserfiche.Forms.CommonUtils.LFHelper.SetValueToTemplateField(EntryInfo lfDoc, String template, FieldValueCollection fvs)

I've seen a similar error before and usually it indicates to me that I'm trying to save larger than expect value into one of the fields, and I'm able to verify by comparing the size (# of chars) in the value to what the field is set to hold. However in this case that doesn't seem to be an issue. Instance Id looks fine and is well within the limits of the template field I'm saving it to. I'm unsure how to look at the value for Submission Id, but the corresponding template field should have enough room to hold it as well. 

Has anyone run into this issue in the past or have any idea what may be causing the issue? Any help would be greatly appreciated. Thanks!

0 0

Answer

SELECTED ANSWER
replied on October 3, 2019

Are you setting other fields? It looks like you have a required one that might be blank?

1 0
replied on October 3, 2019

I am setting other fields, but all the other required fields for the template used are not blank and within the expected sizes. 

0 0
replied on October 3, 2019 Show version history

I looked a little closer at the Business Process and noticed we were saving attachments along with the forms and one of them had the template assigned but not the required fields. It looks like it was done in error. Removing the template solved the issue, thank you for your help! :-) 

1 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.