Hi all, I’m developing a data insertion process where i get data from database and insert it to a web page. So I’m using try catch inside process state before clicking on final submit button. Now the problem i face is whenever there an business or system exception it will skip the entire try catch and go to final submit click and wont register or update the error in final databases log. Any solution
1 Like
Hi,
Inside your new try catch block do you have Throw activity… you need to throw the exceptions and catch it wherever you want.
You should throw the application exception then the process will retry. If you throw business rule exception it will continue the process with next item.
Just use throw activity inside. and pass the value as new BusinessRuleException(exception.message)
2 Likes
Thank you it worked
1 Like
Happy learning
Thanks it was working fine.
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.