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