How do u handle ..when an application fails in Init State
Create an int variable which will represent the number of retries u want
Then create a transition from init to init where the condition would be systemError not nothing and RetryNumber (the variable u create earlier) <= X
Where x is the max number of retries