I'm working on a complicated BPM scenario. I have included an exception branch for the process. My goal is to ultimately insert the process comments in a database table.
Now whenever system error occurs, I would like to get the exact system error that occured and store it in the comments field in my database table.
My doubt is, how can i get the error details in the exception branch?? Is there some method to achieve this??