I am using Outlook activity and in sided for each mail activity the automation works fine but the problem is that the Bot handle the requests from the newly received not the oldest and it should do the oboist the bot should handle the requests the arrived first but instead it take the first email, and the ones have sent first keep in hold. and they will keep in hold because the email keeps coming. what should I do
Use Get Outlook Mail Messages
activity to get the emails and Change OrderByDate
to OldestFirst
This activity will return you List of Mail Messages
which you need to pass it to For Each Email activity.
Sample Workflow:
FoReachDemo.xaml (10.2 KB)
Thanks,
Ashok
I am not using get outlook massage activity i am using outlook desktop app directly
Do i have to use it or there is another way
I don’t think there is any option to order by oldest to fist using For Each Email
activity as it’s designed to just iterate through all the emails.
I would advise to use the approach I suggested.
Thanks,
Ashok
your approach is working fine but there is some activity is affected as i am using move email to another folder in the mail box but i got this error as following
Add Use Desktop Outlook App
activity and put your Move Email
activity inside it.
Thanks,
Ashok
It seems there is one additional step we will have to take here. We will have to get the Email through Id and then pass that email as object to the Move Email
activity like this.
Thanks,
Ashok
Thanks for your time and support
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.