Hi everyone,
I try to debug the sample of this lesson but there show an error as below. Any idea to solve it?
Hi everyone,
I try to debug the sample of this lesson but there show an error as below. Any idea to solve it?
Hi @Lee_Jia_Jun
Please check in the variable panel whether that variable is created or not and also check the scope of variable.
Hi @Lee_Jia_Jun
Check you RetrievedEmail variable, it should be created, or search the right scope, if none of the above, then you can create that variable with the same type and same name(RetrievedEmail)
Regards
Hi,
May I know how to check the variable is created?
Hi,
May I know how to create it?
Hi @Lee_Jia_Jun
Pass loop iteration variable to the save attachment activity in the place of RetreivedEmail variable. For save attachment activity input should be of type mailMessage.
Hi i download the sample from this link
https://academy.uipath.com/learningpath-viewer/8279/1/507609/2
Sorry I didn’t get what you mean.
Hi @Lee_Jia_Jun
For Save Attachment Acivity input should be of variable type mailMessage , But in your code RetreivedEmail variable is of type MailAttachment. Change the variable type of RetreivedEmail form MailAttachment to MailMessage.
This is work! Thanks a lot