RPA Automation Process

System Profile

Source Location

Azure DevOps

Source Code Location

https://dev.azure.com/transport-canada/DSD-CIVAV Support/_git/FOAEA-AEOEF_JusticeFileTransfer

FOAEA inbox

DSD FOAEA / LAEOEF DGSN

DSD CivAv Team MyKey

\\Tc4s0a\groups\AARA\AARAD\Entrust

DSD CivAv Team Entrust Password

18000971

Installation

\\Tc4s0a\groups\AARA\AARAD\Software Library\Vendor Software\UiPath\UiPathStudioSetup.exe

Actual process

Software Installation

After your installation is important to update it. The update happens automatically in the background.

 

How to deploy the process in my local machine

Note: to run the real process, you need to have access to generic mailbox DSD FOAEA / LAEOEF DGSN. If you don’t have access, please contact your Team Lead.

  1. To test the process automation, the first step is to add the CivAv Entrust in your store.
    Go to right-click in Entrust Security > Login
    Note: You don’t need to be connected in the VPN to test this process

     

    Click on Browse > Choose the CivAv certificate > Add the password (the password is available in RDIMS 18000971)


    In case, if you were connected to the VPN and your trust is locked,


    you need to open PowerShell as Administrator, run both codes below and try again.

    Restart-Service -Name EELSService Start-Process "C:\Program Files (x86)\Common Files\Entrust\ESP\eesystry.exe"

     

  2. This process uses PowerShell to execute some of the tasks and to run without error the process, it is better to “remove” this pop-up each time we try to open PowerShell as Administrator.


    Note: Link with some references https://www.gfi.com/support/products/how-to-disable-user-account-control-uac

    So, to avoid this pop-up opening all the time execute the code below. After that, you need to restart your pc.

    New-ItemProperty -Path HKLM:Software\Microsoft\Windows\CurrentVersion\policies\system -Name EnableLUA -PropertyType DWord -Value 0 -Force

     

  3. Connect to DevOps repository

  4. Open UiPath > Select Open a Local Project

     

  5. Select the file project.json

     

  6. Once time, the project is opened, it is important to change some configurations.

  7. Add the password for CivAv Entrust to run the process.
    Open the Main.xaml file, then go to Assign variables > remove the "xxxxxxxxx" and a new one in quotes, like "mypassword".

     

  8. Change the account where you will receive the encrypted emails (don’t use the FOAEA inbox, just send 1 or 2 examples for your test account to run the process).
    Go to the task Saving Unread Email from DSD FOAEA > Get Outlook Mail Messages > Input > Account

     

  9. Change the task where the process sends the e-mails to Justice. Add your e-mail account.
    Go to Email Files to Justice > Sending Emails > Send Outlook Mail Message > change the e-mail.

     

  10. Add a breakpoint into the task Delete InputMail. This breakpoint is important only if you are using the same e-mail in steps 8 and 9.

    For example, I received the 2 firsts e-mails but I need to decrypt the last 3. If I don’t remove my 2 first in my Inbox, both will be treated by the process as well.

  11. To debug this process, click on Debug > Debug File. I have been selected Execution Train and Highlight Elements to pass through my all process.

Production

  1. In production, all the variables need to be configured to the real folder. At this moment, all folders is in the project.

     

  2. In case, if we don’t have more than one certificate we can have an issue in the process.

     

    So we need to remove the option to select a certificate in the Entrust combobox.