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 |
|
DSD CivAv Team Entrust Password | |
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.
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 processClick 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"
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-uacSo, 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
Connect to DevOps repository
Open UiPath > Select Open a Local Project
Select the file project.json
Once time, the project is opened, it is important to change some configurations.
Add the password for CivAv Entrust to run the process.
Open theMain.xaml
file, then go toAssign variables
> remove the "xxxxxxxxx" and a new one in quotes, like "mypassword".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 taskSaving Unread Email from DSD FOAEA
> Get Outlook Mail Messages > Input > AccountChange 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.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.
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
In production, all the variables need to be configured to the real folder. At this moment, all folders is in the project.
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.