Set Transaction Status REFramework

Hello,
I receive this error in the process statement:
Get OCR Text ‘client 15707.41,’: Cannot find the UI element corresponding to this selector…

The reason to receive this error is because I’m using filter and there is no result.
So basically he is trying to Get OCR Text while there is nothing on the screen.

I know there is a flowchart SetTransactionStatus in Framework folder.

I’m not sure is there I must change something or somewhere else when there is no extracted data from GET OCR TEXT activity this transaction would be Failed.

Not sure even how to start this topic and ask you.
But the strange part is that he receive this error. He start to init state again and the transaction receive status Successful. Which is not correct.