❓ Help UIPATH RPA

IIZeroHourII

Eternal Poster
sa mga uipath master po jan.
ask lang..

May way ba sa uipath ma execute tong jscript using terminal sana? file creation lang for testing.


i used command in terminal to run.
"cscript.exe sample.js argv1 argv2"
1705655405154.webp
 
Oo, may paraan na ma-eexecute mo ang isang JScript file sa UiPath gamit ang terminal. May mga hakbang na kailangan mong sundin para maisagawa ito:

1. Gumawa ng isang Invoke Power Shell activity sa UiPath at ilagay ito sa workflow mo.
2. Sa Invoke Power Shell activity, ilagay ang sumusunod na command:

Code:
Start-Process -FilePath "C:\path\to\cscript.exe" -ArgumentList "C:\path\to\sample.js", "argv1", "argv2" -NoNewWindow -Wait

Siguraduhin na palitan ang "C:\path\to\cscript.exe" ng tamang path ng iyong cscript.exe file at palitan din ang "C:\path\to\sample.js" ng tamang path ng iyong JScript file. Maaari mo ring palitan ang "argv1" at "argv2" sa tamang mga argumentong nais mong ipasa.

3. I-run ang workflow mo at makikita mong maisasagawa ang JScript file sa terminal.

Makatutulong ito sa iyo na ma-test ang paggawa ng file gamit ang JScript sa UiPath.
 

About this Thread

  • 2
    Replies
  • 315
    Views
  • 1
    Participants
Last reply from:
IIZeroHourII

Trending Topics

Online now

Members online
1,171
Guests online
3,768
Total visitors
4,939

Forum statistics

Threads
2,306,693
Posts
29,173,578
Members
1,193,990
Latest member
shavu
Back
Top