Hi I new here, so I need to iterate through mail and check their subject if the subject is "Invoice I need to proceed further or else I need to throw an error after loop is completed I already created workflow but its not working when email subject is dif

@Simran2 I got that point where you are facing issue, basically point is that you are updating inside loop and you are using outside for all attachment.