Ending the process in REFramework

I am using the REFramwork whereby after the Init state, I have created a state to get emails from outlook, before the GetTransactionData state. If there is emails everything is smooth and move on to the Process Transaction. However, if there is no more email, it gets system exception. How to i make it that it will end the process smoothly? Like maybe make the TransactionItem nothing?

@TyraS

In the Init State check for the mail count like

If Mails.Count > 0 then put your logic or else leave it as blank, This will sorts your problem

Eg workflow

image

Mark as solution if this helps

Thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.