Hi,
I am able to trigger a process by sending mail. I can see __mail.html file generated in workitem. When i try to download the file with this code
${path} = Get work item file __mail.html ${OUTPUT_DIR}
Log To Console ${path}
${mail_content} = Download ${path} target_file=${ATTACHMENTS_DIR}
it fails with this error:
InvalidSchema: No connection adapters were found for ‘:/home/worker/instance/runs/0ef2284d-2d49-4317-a35a-6831a58a059f/package/__mail.html’
That run seems to be on cloud container, done by Worker. Our cloud containers run linux, they are not windows machines. And if something is run on cloud, then it is not available on your own windows machine. But if your robot (running in cloud container) wants to access that file, it should be able to do it directly there (on cloud container).
Keyword “Get Work Item File” has already downloaded it into cloud container directory. And that file should be already place where variable ${path} points to. Just let your robot access and use it, nothing else to download (to cloud container).