Robotic Process Automation (RPA)

 View Only
  • 1.  Save or export the email using IBM WDG

    Posted Fri July 29, 2022 09:35 AM
    Hi All,

    I am trying my hands on email automation using IBM WDG. Is there a possibility to have the email saved or exported as .msg or .eml file? Please let me know if there is any script available to have this included with WDG script.

    Thanks

    ------------------------------
    Abhay Naik
    ------------------------------


  • 2.  RE: Save or export the email using IBM WDG

    User Group Leader
    Posted Fri July 29, 2022 10:04 AM

    Hi Abhay, 

    I have asked some of our RPA users about this - in the meantime check out our IBM RPA Documentation as you might find it useful. 

    Here is a link to a guide that might be helpful - https://www.ibm.com/docs/en/rpa/21.0?topic=email-download-attachments - on the left side they have other email topics. 

    I will get back to you as soon as I have an answer for the original question.

    Gabriel



    ------------------------------
    Gabriel Marte Blanco
    ------------------------------



  • 3.  RE: Save or export the email using IBM WDG

    Posted Fri July 29, 2022 10:18 AM
    Hi Gabriel,

    Thank you for the Documentation. Appreciate your help on this.

    ------------------------------
    Abhay Naik
    ------------------------------



  • 4.  RE: Save or export the email using IBM WDG

    User Group Leader
    Posted Sun August 07, 2022 12:26 PM

    Hi Abhay, 

    One of the RPA team members was able to send me a script that would help you do this by automatizing the outlook app, you would just have to configure the command path. Is There anywhere that I could email it to you? so that I can get it over to you. 

    Best, 

    Gabriel 



    ------------------------------
    Gabriel Marte Blanco
    ------------------------------



  • 5.  RE: Save or export the email using IBM WDG

    Posted Sun August 07, 2022 04:42 PM
    Hi Gabriel,

    It would be great if you could send it to anaik@tangentia.com or abhayofcl97@gmail.com. Much thanks to you and the team.

    Regards,

    ------------------------------
    Abhay Naik
    ------------------------------



  • 6.  RE: Save or export the email using IBM WDG

    Posted Fri January 20, 2023 11:30 AM
    Hello Gabriel,

    This is a requirement in one of our current flows.
    Is it possible to share the script that the RPA team members sent you with me in the email: nikas@interamerican.gr?


    Thank you in advance,
    Sofia Nika

    ------------------------------
    Sofia Nika
    ------------------------------



  • 7.  RE: Save or export the email using IBM WDG

    User Group Leader
    Posted Fri January 20, 2023 03:01 PM
    Hi Sofia, 

    Angelo posted the script below - you can check it out under this thread!

    ------------------------------
    Gabriel Marte Blanco
    Austin TX
    ------------------------------



  • 8.  RE: Save or export the email using IBM WDG

    Posted Mon August 08, 2022 08:51 AM
    Hello Abhay,

    I have this code, you can test, sometimes you need to change the selector address.

    defVar --name windowOutlook --type Window
    defVar --name success --type Boolean
    defVar --name windowMessage --type Window
    waitWindow --useregex  --regexPattern " \\- Outlook" --regexOptions "0" --processname OUTLOOK windowOutlook=value success=success
    focusWindow --window ${windowOutlook}
    setValue --value "IBM RPA - Workshops" --setValueType "Automatic" --algorithm "Default" --matchcondition "Equals" --selector "IdAndName" --id SearchTextBox --name Search --comment "IBM RPA - Workshops"
    sendKeys --keys "{ENTER}" --viacurrentwindow
    click --selector "XPath" --doubleclick  --controlsimilarity 100 --forcerefresh  --xpath "/root/table[1]/group[*]/treeitem[3]" --timeout "00:00:10" --comment "First Email"
    waitWindow --useregex  --regexPattern "- Message (HTML) " --regexOptions "0" --processname OUTLOOK --recursive  --safesearch  windowMessage=value success=success
    click --selector "IdAndName" --controlsimilarity 100 --id FileTabButton --name "File Tab"
    click --selector "Name" --controlsimilarity 100 --forcerefresh  --name "Save As"
    handleSaveFileDialog --filepath "C:\\Users\\003925631\\Desktop\\IBM RPA - Workshops.msg" --title "Save As" --timeout "00:00:10" success=success
    delay --timeout "00:00:10" --comment "wait to find \"Save As\" window"​


    ------------------------------
    Angelo Alves
    WW Elite Team IBM RPA
    ------------------------------



  • 9.  RE: Save or export the email using IBM WDG

    Posted Thu August 11, 2022 02:00 PM
    Hi,

    Thank you Gabriel and Angelo for the help. I could manage to do this task by coming up with a small VB Script which does the job well.

    Thanks

    ------------------------------
    Abhay Naik
    ------------------------------