How do I access the Flow Designer Error Log?

John Prouty
Kilo Guru

I am trying to update a flow in Flow Designer.  When I try to save the changes, I get an Internal Server Error - see error log for further details.  But I don't know how to access the log.  Can someone help me?

1 ACCEPTED SOLUTION

John Prouty
Kilo Guru

I found some corrupted field updates.  I fixed them and now it saves and activates properly.

View solution in original post

6 REPLIES 6

Hitoshi Ozawa
Giga Sage
Giga Sage

From the Application Navigator, open "System Log" > "Errors".

John Prouty
Kilo Guru

I found it, but I don't understand what the problem is.  I am unable to activate my flow.  Here is the error (the source is Flow Designer):

Failed to invoke public com.glide.flow.model.ComponentInstance() with no args
com.google.gson.internal.ConstructorConstructor$3.construct(ConstructorConstructor.java:107)
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:162)
com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)
com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)
com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
com.google.gson.Gson.fromJson(Gson.java:803)
com.google.gson.Gson.fromJson(Gson.java:768)
com.google.gson.Gson.fromJson(Gson.java:717)
com.google.gson.Gson.fromJson(Gson.java:689)
com.glide.flow_design.rest.FlowService.updateFlow(FlowService.java:437)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
com.glide.rest.handler.impl.ServiceHandlerImpl.invokeService(ServiceHandlerImpl.java:44)
com.glide.rest.processors.RESTAPIProcessor.process(RESTAPIProcessor.java:286)
com.glide.processors.AProcessor.runProcessor(AProcessor.java:553)
com.glide.processors.AProcessor.processTransaction(AProcessor.java:241)
com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:180)
com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:169)
com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:31)
com.glide.sys.Transaction.run(Transaction.java:2218)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

here is the flow:

find_real_file.png

find_real_file.png

find_real_file.png

John Prouty
Kilo Guru

Everything was working fine until I needed to create a custom Action (2.2.2).

When I take it out, i can save the flow, but I still can't activate it.

Notifications says the flow was activated, but the buttons at the top of the designer still has a green Activate and if I close it, the list of Flows lists it as Draft and Active=false.

 

There may be several reason for this error so would need to look at the flow.

For example, following page has an explanation for one cause.

https://hi.service-now.com/kb_view.do?sysparm_article=KB0862393