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

Question

Question

What would cause this Forms instance to be suspended?

asked on March 6

We have had this happen a few times in the past and just recently with about 10 Forms instances. We are not sure what causes it and was wondering if anyone is able to shine some light on it.

In the screenshot below you will see that the Forms instance starts and is then sent to a user task and assigned to a team. A team member assigns it to themselves and the Submits the form. It then carries on and completes. However, the user task is showing as suspended even though it shows an Action value.

In Monitor if I search for Suspended instances, it does not show up because the instance itself shows as completed.

And strangely enough it does not show up in Monitor when I search for Suspended Tasks either.

Does anyone know what would cause this to happen?

Forms Version: 12.0.2509.20409

0 0

Replies

replied on March 6

Does it show anything in the error log?  What status does it show in the Forms DB?

0 0
replied on March 6

In the cf_bp_worker_instances table the status is 11.

0 0
replied on March 6

In the bp_instance_errors table it has this entry:

An unexpected error has occurred. [LFF502-UnexpectedError]

Details:
URL: 
Error: UnexpectedError
Date: 2025-12-17 6:06:47 PM (Eastern Standard Time)
HTTP Status Code: 500
Business Process ID: 11
Instance ID: 955698
Business Process Name: Nuvolo Tax Review

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An unexpected error has occurred. [LFF502-UnexpectedError]


Inner exception: System.Data.Entity.Infrastructure.DbUpdateConcurrencyException
Message: Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. See http://go.microsoft.com/fwlink/?LinkId=472540 for information on understanding and handling optimistic concurrency exceptions.
   at System.Data.Entity.Internal.InternalContext.SaveChanges()
   at Forms.Persistence.EntityFramework.Repositories.WorkerInstanceToResumeRepository.ArchiveAndDeleteWorkerResumeAction(cf_bp_worker_instnc_to_resume resume, WorkerResumeArchiveReason archiveReason, cf_user_snapshot user, cf_submissions submission, Int32 retryCount, Boolean commitChanges)
   at Forms.Persistence.EntityFramework.Repositories.WorkerInstanceToResumeRepository.ArchiveAndDeleteWorkerResume(cf_bp_worker_instnc_to_resume resume, WorkerResumeArchiveReason archiveReason, cf_user_snapshot user, cf_submissions submission, Int32 retryCount, Boolean commitChanges)
   at FormsModel.DomainServices.UserTaskService.CompleteTask(cf_bp_worker_instnc_to_resume wr, cf_submissions submission)
   at FormsModel.DomainServices.WorkerInstanceService.TryCompleteWorkerResume(cf_bp_worker_instances wi, cf_submissions submission)
   at Laserfiche.Forms.Routing.RuntimeFlowObject.MarkWorkerInstanceToResumeAsCompleted(cf_bp_worker_instances wi, cf_submissions submission)
   at Laserfiche.Forms.Routing.RuntimeUserTask.ExecuteForReEntry(cf_bp_worker_instances processInstance, IRoutingContext routingContext)
   at Laserfiche.Forms.Routing.RuntimeUserTask.Execute(Int32 instanceId, IRoutingContext routingContext)
   at Laserfiche.Forms.Routing.RoutingDispatcher.ExecuteStep(Int32 instanceId, RuntimeFlowObject runtimeStep)

Inner exception: System.Data.Entity.Core.OptimisticConcurrencyException
Message: Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. See http://go.microsoft.com/fwlink/?LinkId=472540 for information on understanding and handling optimistic concurrency exceptions.
   at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.ValidateRowsAffected(Int64 rowsAffected, UpdateCommand source)
   at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
   at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)
   at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)
   at System.Data.Entity.Internal.InternalContext.SaveChanges()

 

0 0
replied on March 10

I just tried interrupting the suspended step and it went back to suspended.

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

Sign in to reply to this post.