Java sleep/wait equivalents in WM


Can someone pls tell me whether there are any services equivalent to the sleep and wait commands we have in Java?

Thanks and Regards,
Anupama Ashok

You can Write you own java service for that.

The WmSamples packages contains a simple java service to do this in the “threads” folder. I think it is called “stall”, but I agree that you can write your own thread.sleep() service in just a few lines of code.


In case you have the PSUtilities package, you can write a service on the lines of this ‘PSUtilities.misc:sleep’.