Re-Framework - How to initialize again after the first system exception in init state?

Hi All,

I would like to know what changes to make in order to ignore first system exception in the init state and get back to init state again.

Any help would be appreciated.

Thanks in Advance :slight_smile:

@Vaishnav_Tej

For any system exception in reframework by default comes to init state…are you looking to stop that?

Or you want to know if that is what happens?

Cheers

image

Here , it’s ending the process if there is system exception in init state.
I want to end the process if system exception occurs for the second time.
For the first time if system exception occurs it has to go back to init state again.
So, What changes need to be done to achieve this?

@Vaishnav_Tej

Include the activities inside init state in a retry scope so that it retries the specified number of times before an error is thrown

Or you can include a counter variable and increment the counter if a exception occures and add a transition from init to init itself and give the condition as count=1 and add a condition to end process transition to chekc the count as well like count>1

Cheers