Hi Team
If the mail is not present it should go to else section and work flow should be terminated but in my case it is not going to else activity even though mail is not present
Thanks
Kamesh
Hi Team
If the mail is not present it should go to else section and work flow should be terminated but in my case it is not going to else activity even though mail is not present
Thanks
Kamesh
Buddy @Kamesh
I think there is a mail with that subject, is there any like that…?
or check the property onlyunreadmessage property in the activity of outlook mail activity and try buddy @Kamesh
Cheers
Buddy @Kamesh
kindly check whether any mail has that even that string (the one in if condtion) in any of the mail subject, because the mail.subject.contains will check all the mails upto 50 (the count you mentioned) with string in the mail, that the mail may have that string as a substring in it…
still if that doesn’t work, restart the outlook and studio in your system buddy @Kamesh
thats would work fr sure
Cheers
Hi @Kamesh
Please try
mail.Subject.ToString.Contains("New Access Creation Request")
Thanks and regards.
Despi
thanks a lot for your prompt surely will do restart the outlook and studio since I have deleted all the mail and tried @Palaniyappan
Hi Jan
Surely wll try this too
Thanks
Kamesh
Or buddy lets reduce the strings in contains argument, like
just pass like this and try
mail.subject.Contains(“New”) and mail.subject.contains(“Access Creation Request”)
TRY THIS BUDDY @Kamesh
Cheers
@Palaniyappan Nothing worked out. I deleted all the mails but still it is not going inside else loop