cancel
Showing results for 
Search instead for 
Did you mean: 
Devendra_KumarP
Level 7
Status: New
When we run process from process studio and if there is any exception then it will bubble up to main page recovery (assume - no handling on subpages). There is option to find which stage given exception but if you restart from that step then process will again throw exception on END stage of sub-page. it should continue with flow before exception.
3 Comments
EslamGhandour
Level 4

As this might seem good when reading it the first time, I am not sure if it will be easy to to implement or even useful at some point.

Assuming you follow best practices and you try to make most of your pages reusable, how will the end determine which page it should go out to if you're calling this page in more than one place?

In the meanwhile, if you step into (F11) the page and go with the flow, you will be able to go out without having a stopping point on the end stage. 

Devendra_KumarP
Level 7
Thanks Eslam for your input. I don't know how difficult implementation of this idea, but it could be very good feature for developers.  In happy path BP knows which flow need to follow so similar way something can be build.
ScottRobson
Level 6
This is just a case of developer discipline, and something which you get used to.

You have a couple of options here:
1) When developing, you can add a high level Recover/Throw on each page, so you can catch the exception before it bubbles back up to the calling page (then add a temporary resume stage, linked to the stage which caused the exception)
2) You can step back in to the page from the calling page where the exception has bubbled back up to.  Do NOT step over the Start stage in that page (so it doesn't reset your variables), but instead do a Set Next Stage to the stage which had failed.