it just reads whatever is after ‘Policy or claim Number’ which will lead to incorrect results.
So I want a condition that says if that word after policy number comes , value for policy number should be null or non-existing.
I have a condition that checks if there is a policy number value or not
In that case, Maybe the way the data is being sent needs to be standardized. As it is sent from an email, it could be told or mentioned to the sender that each of the fields need to be separated by a new line, so as to be able for the RPA to understand the correct value for the corresponding field.
A definite pattern would help, moreover if you still think there is a definite pattern already followed, we may need to check on the sample data completely that you might be receiving from the emails.