cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the wscript.sleep function from Code stage

HaoLu
Level 3
Hi there ,

I want to use the wscript.sleep function from the Code Stage ,but every time I am failed .It reports me that the wscript was not declared .I know that the wscript was an exe file from the windows .But I want to use this function , how I can make it work from the Code stage immediately ?
I do not want to process it within another VBS file but only from the BP Code stage.

------------------------------
Hao Lu
------------------------------
1 REPLY 1

John__Carter
Staff
Staff
You need to use .Net code, for example System.Threading.Thread.Sleep(1000)

------------------------------
John Carter
Professional Services
Blue Prism
------------------------------