- SEQUENCE (Exit On SUCCESS)
-- SEQUENCE (Exit On FAILURE)
--- INVOKE myPkg:flow1
-- SEQUENCE (Exit On DONE)
--- INVOKE pub.flow:getLastError
And the myPkg:Flow1 :
- INVOKE pub.math:divideInt(num1 = 1, num2 = 0)
In getLastError my document error have only one line in callStack document list (I see only pub.math:divideInt).
Does exist a way to obtain the complete stacketrace ? In my case not just on record with pub.math:divideInt but another one with myPkg:flow1
Hello Vital,
the exception happened just in second level of service… hence u see only 1 service in callStack.
if the exception happened in say 4th or 5th level down… then u will see the complete stack of flow steps and details
I know what u mean.
You said to me to do a getLastError in flow each time I encountered an exception and put in in Pipeline.
It’s smart but I would prefere to not make the code with more statement in child services.
I would prefer to view the complete stack trace only in service I call getLastError.
You use wM 10.1. I know the latest versions of wM use a better way for try/catch management.
So, in your flow service you seems, to not use it but maybe the software is better for the stackTrace in getLastError service.
I use wM 9.10 version. I do exactly the same thing than you.
As we are migrationg our wM 9.10 version to wM 10.5, I installed a designer 10.5 on my local desktop and I tried again the same kind of flow service. And I see that with the same behaviour, in error structure, I have only single flow server in my callStack document List. So if you have not the same behaviour, something is missing in my configuration.