well we can keep the TOP property of mail as 1 in the property panel of get outlook mail activity
If you are having the multiple values, then
iterate through the mails and store the mail ID’s in a string type array , and when the loop iterates, check if array.contains(mail.address) , then skip or continue
No bro, it’s look diff. My req is diff as @Palaniyappan gave the reply.
I didnt get that buddy
is that the requirement
Yeah ok @balkishan,
Then that would be the easy way to solve that issue as @Palaniyappan mentioned
You can also get the emails and also sort it by the date and time you got the mails… That’s another way of doing it…
bro, you already replied to that post. your comment is matched with my requirement. Thank you
Hi can we we sort it by date and time? Can you please explain Or we have option itself in the mail property activity.
ths could sort the mailmessages
yourmailmessagevariable = yourmailmessagevariable.OrderBy(Function(x) x.Headers(“date”)).tolist
with that we can take the one we want
date will be dynamic? what is x bro here ?
mailvariable can be a string type or mail.net.message type?
X is a variable use in the function
And yourmailmessagevariable is the variable that we get from get outlook mail activity which is of type List of mailmessages
okay okay understood, thanks you bro
well i hope the first option of TOP property will probably help you if its a simple filteration
but if we are taking it to a multi thread condition then we can use this expression
As of now I am using the first solution only.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.