How to fetch the value from a variable defined in powershell to UIPath?

Hi All,

Can anyone suggest me how to fetch a value of a variable defined inside powershell script into UIPATH using run powershell script?

Regards
Nikhil Jose

Hi,

you can define outbound variables in the PowerShellVariables collection as well as in the Output. If you need only simple variables I personally prefer using the first method.

Here is an example:
Main.xaml (5.5 KB)

BR,
Topi

1 Like