Wednesday, June 29, 2022

SecureString (Password) to String; UiPath RPA

 String plainStr = new System.Net.NetworkCredential(string.Empty, secureStr).Password


Above variable plainStr has the password now. secureStr is the SecureString to be converted. 


https://forum.uipath.com/t/convert-securestring-to-string-get-secured-credential/1704








Wednesday, June 8, 2022

Get row value from data row UiPath RPA; C#

 

Example: row.Field<Type>(<Index>)

CurrentRow.Field<String>(1)



Below prints list of all row for Column 1. 

Thursday, June 2, 2022

UiPath Assistant connected but no processes showing up; RPA; UiPath

  •  After updating SSL certificate to Orchestrator you need manually do below steps for UiPath Assistants to connect without any issues.
  1. Get Thumbprint from SSL Certificate and Update appsettings.Production.json in C:\Program Files (x86)\UiPath\Orchestrator\Identity -->Folder
  2. IISRESET on command Prod (Run as Administrator)










Steps Performed:
  • In IIS go to that UiPath Orchestrator site
  • On the right side, select 'Bindings...'
  • Select the binding and then click 'Edit...'
  • In the menu that pops up, select 'View...' and the lower left of the window. This will show the certificate used to bind the port for HTTPS encryption (the SSL certificate)
  • In the Certificate window, go to the Details tab
  • Find the thumbprint information. Copy this thumbprint.
  • Go to Identity/appsettings.production.json file. Match the thumbprint with the certificate thumprint.
  • Performed an IISReset post this change.