“Invalid Password” is a Business Exception, so no retry is needed.
Modify InitAllApplications.xaml to Detect Business Exceptions
- In
InitAllApplications.xaml**, surround the login logic with aTry-Catch. - Inside the Catch Block:
If the error is “Invalid Password”, throw a BusinessRuleException.
Otherwise, rethrow the Application Exception. - Modify
Main.xaml:
After catching a Business Exception, stop the process immediately and go to the End Process state.