Thank you for your prompt response aman_sheik , @Divyashreem and @aditya.prakash.
I was fairly able to understand your submission but please bear with me as I am not from core development background. Let me try to explain the the use case I am trying to achieve:
To start with, I have used Try - catch and inside Try , I have used a sequence in which first I am using “Get IMAP mail messages” and after this I am using For-Each ( as shown below).
So I want to read mail subject in such a way that once execution is triggered, it should search for the text that I am supplying and if it finds the same text/match in mail subject, it should enter into ‘Then’ and execute say data scrap sequence, else display a message that says for example : “Mail is not yet received.”
I know something is getting wrong though studio doesn’t show any error in my current setup here but I am just trying to think logically and may not be with programming perspective.
In case if it is getting difficult to explain over conversations, would you mind sharing any sample project file so that I can practically see how it works.
Thanks a lot !