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

Question

Question

Timer Catch Event Doesn't Seem to Work Based on Variable

asked on January 17, 2017

The first couple steps of my process are supposed to accept the form, delay until a certain date (which is set by a field variable) and then forward on to the Marketing Department.

My field on the form correctly calculates the expected date.

In testing, I've tried many different settings when configuring my Timer Catch Event

But the process never seems to pick back up after the timer.

Any guesses as to what I have missed?

0 0

Answer

SELECTED ANSWER
replied on January 18, 2017

Please see KB 1013639.

1 0

Replies

replied on January 17, 2017

What version of Forms are you using? Your instances seems get stuck at the message start event called "Initiate Nomination", it haven't reached the timer catch event yet. Can you check whether there are any errors logged under Event Viewer->Applications and Services Log->LFForms if you start a new instance by submit the form?

0 0
replied on January 18, 2017

Forms 10.1 Update 3.

I am seeing an error in the Event Viewer when I submit.  Here's what I see in the Event Viewer:

 <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Laserfiche Forms" /> 
  <EventID Qualifiers="0">502</EventID> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2017-01-18T16:09:36.000000000Z" /> 
  <EventRecordID>920</EventRecordID> 
  <Channel>LFForms</Channel> 
  <Computer>CORPAPP12.VAMCU.local</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>An unexpected error has occurred. [LFF502-UnexpectedError] Details: URL: Error: UnexpectedError Date: 1/18/2017 9:09:36 AM (Mountain Standard Time) HTTP Status Code: 500 Stack Trace: Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException Message: An unexpected error has occurred. [LFF502-UnexpectedError] Inner exception: System.ArgumentException Message: '' is an invalid expanded name. at System.Xml.Linq.XName.Get(String expandedName) at Laserfiche.Forms.Routing.VariableXMLGenerator.CreateElementFromMember(member mem, Nullable`1 repeatId) at Laserfiche.Forms.Routing.VariableXMLGenerator.CreateDummyXmlElement(member mem, Int32 attribute_id, Nullable`1 repeatId, String member_path) at Laserfiche.Forms.Routing.VariableXMLGenerator.ValidateEntity(XElement entityElement, entity entityToValidate, String memberPath, List`1 attributePool) at Laserfiche.Forms.Routing.VariableXMLGenerator.GenerateXml(Int32 bpInstanceId, Nullable`1 formId, cf_user_snapshot initiator, Nullable`1 submissionId, Nullable`1 initiatedTime, Nullable`1 taskTime, Boolean includeSeparators) at Laserfiche.Forms.Routing.VariableXMLGenerator.GetLatestDataBySubmission(Int32 mainInstanceId, Int32 formId, Nullable`1 submissionId, cf_user_snapshot initiator, Nullable`1 initiatedTime, Boolean includeSeparators) at Laserfiche.Forms.Routing.RoutingContext.InitializeProcessInstance(Int32 refMainProcInstId) at Laserfiche.Forms.Routing.RoutingContext.InitializeRoutingContext(Int32 procWorkerInstId, Int32 processId, Int32 boundaryEventStepId, SubmissionDataSet inputData, Int32 mainProcInstId, Int32 refMainProcInstId) at Laserfiche.Forms.Routing.RoutingDispatcher.RunProcess(Int32 processWorkerInstanceId, Int32 processId, Int32 boundaryEventStepId, SubmissionDataSet inputData, Int32 mainProcessInstanceId, Int32 refMainProcessInstanceId, Int32 lastSubmissionId) at Laserfiche.Forms.Routing.RoutingEngineService.RunRouting(RoutingRequestParameters requestParam) at Laserfiche.Forms.Routing.RoutingEngineService.<>c__DisplayClass7_0.<StartRouting_Async>b__0()</Data> 
  </EventData>
  </Event>

Unfortunately, I don't know what the Services Log is to check that...

0 0
replied on January 18, 2017

Thank you @████████- that was totally it.

I had just barely figured it out myself, because when I saw the text "System.ArgumentException Message: '' is an invalid expanded name." in the error, I went and checked my variables, and found that variable with no name.  I deleted the variable, and now my instances are making it to the next step of the process.

I'll know tomorrow for sure if they route as expected, but I'm very hopeful.

Thank you so much for your help @████████and @████████!

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

Sign in to reply to this post.