Cannot get error details for failed Process Instances


I am using [FONT=Arial Narrow][SIZE=4]
pub.monitor.process.instanceSteps:getStepErrors builtin service to geterror details from MWS for failed process instances ,but the error details are showing null values.
I am giving the context ID for that particaular processInstance step but still unable to retrieve the error details.
can anybody help!!!



Hi, try to use pub.flow.getLastError.

Implement a process wide error handler step.
In this step, create a input variable pError (document reference to pub.event:exceptionInfo)

in the error handler step, map pError to WmPublic/pub.event:exceptionInfo.

This will give all process related errors.