Get Error Details from Error Step of the Process

hi,

I am an error step that is executed if any of the process steps fails. However, I am unable to get the error details, pub.flow.getLastError does not return anything invoked inside the error step.

Is there any way I can pass custom message from failing step and get that message inside the error step? I just want to know where and why the process fails.

thanks

Hi,

pub.flow:getLastError only works inside Service Context, but not directly in ProcessRunTime.

You will find the error messages in the ProcessData or in MWS Monitor when process auditing is configured correctly for this process model (“all steps”).

See Process Development Guide and Monitor Users Guide for details.

Regards,
Holger