we are trying to capture an exception information in a LiveCycle Process.
We drew a route from the exception event catch to an exception event, and from the exception event to an action that writes to a file.
But the file is not written. The log says :
"An exception was thrown with name java.lang.Exception message:[...exception message...] while invoking service [...ServiceName...] and operation [...OperationName...] and no fault routes were found to be configured."
Could you explain what was not configured properly?
That's correct. I just think there is a step you don't need to do.
Let just make sure I understand what you're doing.
Are you drawing a route from the exception handler (lightning icons on the bottom right) to an exception catcher?
The thing you need to make sure you understand with the exception catcher is that it will catch every exceptions coming from every activities, coming from every processes within LiveCycle.
So usually, what I recommend is to create a separate process that will only deal with exceptions. Since the exception catcher will catch all exceptions, you can trap them and write them to the file system.
Yes I was drawing a route from the exception handler to an exception catcher. From what you're telling me, it seems that this is not what I want, since I want to catch an exception in a specific process and deal with the exception in this process (send the exception info back to an object which is being handled in this specific process.)
Can you confirm that if I draw a route from the exception handler to an activity, there is no way to get the type and message of the exception in this activity?