Hope you are doing good.I am building a process in Reframework and have below queries.
1: I am extracting data using datatable.I am using an IF condition to check if it is empty.
If it is empty i am using a trycatch block and sending an email.
But Problem is after the exception is caught it is not going to end state else it is going to “Get Transaction data” and then checking if there is any item in the Queue" .
As there is no item in the queue it is coming back to end state and in End state i have also send success email activity.
So 2 emails are send.
Can you please help
I want if no data found throw an exception and send email and end process and if data is present then execute the whole process and come to end state and send success email