cancel
Showing results for 
Search instead for 
Did you mean: 

Debug from Process to Object

Jeff__Addinell
Level 4

Hi, I have stepped through from a Process page to a Business Object page and have deliberately stepped to a system exception stage in the object page to test how the calling process handles the exception thrown by the object. But when I attempt to step out from the exception stage in the object Blue Prism displays a popup with the error message rather than bubbling the exception to the calling process as I expected.

Does anyone know how I can get the debugging behaviour that I expected?

2 REPLIES 2

You'd need to step over the action from the process level and then it'll bubble up. If you step into the object action, then the bubble up does what you said where it'll pop up an exception.

This is how I usually handle it (if it is reasonable to run the action more than once):

1 - I step into the action and cause the error which causes an error popup.

2 - In the object action, after closing the error popup, I set next stage on the End stage of the action and step. This will cause the object to close and the flow will return to the process.

3 - In the process, I set next stage back on the same action stage that just ran and then step over (F10). When the error happens this time, it'll bubble up and get caught by a recover stage in the process if there is one.


Dave Morris, 3Ci at Southern Company

Thanks, I understand