Outlook Desktop - Print the selected folder path of a "For Each Mail" activity

Hello, I would like to see wich path is selected when I am using the activity For Each Mail like this :

  • The user clic on the correct folder of its mailbox then launch the process.

How could I get that path as text in a variable ?

@Supercastor

You can click on plus and open the advanced editor and then copy the folder path…store in a variable…as that ia the input you need to save in variable so as to use in next activities like log message to print…

Cheers

Hello @Anil_G , thank you for your answer. But I am not sure to understand your point.

My goal is to “Write Line” the folder path collected by Outlook.SelectedFolder() as text.

Could you detail a bit how to proceed ?

@Supercastor

I checked it as of now i could not find a way though…but what you are seeing here in the post is that he is pasting the folder name …he is not using selected folder here

Cheers

No no I messed up my topics. Still looking for a solution (Sorry we can continue)