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

Question

Question

Error saving form to repository

asked on May 13, 2015

I've created a leave request form. Approving the form works just fine, but when saving to the repository using a service task, the action history shows that the process has been terminated. Checking the Laserfiche server application logs displays the following error from the Laserfiche Forms Routing Service:

Message: Routing cannot be split to any subsequent branch. XPath evaluation may fail for every possible condition
Stack trace:    at Laserfiche.Forms.Routing.Activity.GetAllSubsequentSteps(Int32 instanceId, Int32 processId, Int32 sourceStepId, IRoutingContext routingContext)
   at Laserfiche.Forms.Routing.RoutingContext.GetAllSubsequentRoutingSteps()
   at Laserfiche.Forms.Routing.RoutingDispatcher.GetSubsequentRoutingStepList()
   at Laserfiche.Forms.Routing.RoutingDispatcher.ExecuteSteps()
   at Laserfiche.Forms.Routing.RoutingEngineService.RunRouting(RoutingRequestParameters requestParam)
   at Laserfiche.Forms.Routing.RoutingEngineService.<>c__DisplayClass1.<StartRouting_Async>b__0()

 

It's a simple process model as shown below. The save to repository task is configured pretty much the same as another one in a different process model, which works. Any suggestions?

Thanks,
Michael

1 0

Answer

SELECTED ANSWER
replied on May 13, 2015

Your dataset/_action="Approved" (on your approval outflow) should actually equal "Approve" as that is what the action button is titled. 

4 0

Replies

replied on May 13, 2015

Can you attach screenshots of the properties of your Approval and Save to Repository tasks, specifically the Outflow configuration?

0 0
replied on May 13, 2015

Approval Page:

Save to Repository Page:

0 0
replied on May 13, 2015

Darrell,

   Thank you very much, that was indeed the issue. It's often these little things that end up making me feel like an idiot.

Thanks again,
Michael

0 0
replied on May 13, 2015

I just went through a very similar issue. Makes me look at everything now. smiley

0 0
replied on May 13, 2015

I'm glad I'm not the only one. wink  I'll be doing the same from now on.

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

Sign in to reply to this post.