Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689998000/b07a5f6e-ba97-4d67-a262-3a15adc58a21.jpg?itok=GkBQXgIh)
Morgan Stanley
IN
Last activity: 4 Apr 2024 12:25 EDT
Exception Handling for Pre-Condition of an activity step
Hi, I found out that PEGA exception handling does not work as expected if there is a JAVA exception like "Index Out of Bound" on the pre-condition of an activity step.
I have WHEN condition defined on the pre-condition of an activity step and step method is just a normal Property-Set on a parameter.On the jump condition I have handling exception using both StepStatusFail and hasMessages but at runtime I noticed these two OOTB when rules are not even called when there is a exception in the pre-condition of the step. Please let me know how I can handle these kind of exception ? This question has already been asked by other developers also - https://support.pega.com/question/exception-handling-activity