yangyq10
(IvanY)
April 22, 2024, 7:56am
1
Dear Experts
I have a outlook request as below, pls help show me some guidance to make it happen:
Use [for each] activity to copy each [Order Number] in excel file
Search it in specific outlook mail folder(There will be ONLY 1 email to be found after search)
2-1) IF there is no relative email found, move to next [Order Number]
Open the found email and forward to appointed recipients according to the excel file
Thank you for your advise in advance
Ivan
yangyq10
(IvanY)
April 22, 2024, 9:00am
3
@ashokkarale
Thank you for the prompt reply. I copy your detail guidance into my process but it shows “No email
found”. Can you help take a look if anything incorrect in my process?
@yangyq10 ,
Everything seems configured correctly. Just try to print value of ‘CurrentDataRow.ToString’
Thanks,
Ashok
yangyq10
(IvanY)
April 22, 2024, 9:22am
5
@ashokkarale
I think the resaon is the order number can’t be extracted
I try to print the order number out but it shows “System.Data.DatarRow”
May I know how to make it happen?
@yangyq10 ,
To get value from DataRow you can use
currentSO.Item(0)(0).ToString
Thanks,
Ashok
yangyq10
(IvanY)
April 22, 2024, 10:30am
7
@ashokkarale Thank you for the patience. I get the order number now but I can’t send out email
Is it relative to the change I did in last one hour?
@yangyq10 ,
Just went through the documentation and found out that we cannot solely use Forward Mail activity. This should be within For Each Email activity.
Try this way.
Thanks,
Ashok
yangyq10
(IvanY)
April 22, 2024, 10:54am
9
@ashokkarale
I am sorry that it still fail at forward email activity with same error message
yangyq10
(IvanY)
April 22, 2024, 11:23am
10
@ashokkarale
I look for some info from Internet that we miss a acitivity [getEmailbyID]
Once I add it before forward email, the process can run successfully
1 Like
@yangyq10 ,
Glad I’m able to help you. Kindly mark my answer as solution as it will help other community member to find it quickly.
Thanks,
Ashok
yangyq10
(IvanY)
April 22, 2024, 11:29am
12
@ashokkarale
Thank you for staying with me this afternoon
I already mark your answer as solution
Have a good day~
1 Like
system
(system)
Closed
April 25, 2024, 11:35am
14
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.