Wednesday, October 12, 2016

Pausing Peoplecode Processing Using Java Class

Honestly, in my years and years of developing in PeopleSoft, I probably used this java class tips to pause my peoplecode processing time twice as far as I remember.

When I need it, this one comes pretty handy:

GetJavaClass("java.lang.Thread").sleep(1000);

Note: 1000 is in milliseconds, which equates to 1 second sleep time.

No comments:

Post a Comment