Thursday, 27 June 2019

Use of Wait Method in Pega

Use of Wait Method in Pega


Hi everyone, Today we will see how wait method will works in pega,

 Pega PDN help topic about wait method:

 ttps://community.pega.com/sites/default/files/help_v718/methods/wait/wait.htm

From my understanding , this method will pause the thread for specific time period that we mentioned in the method.

From the PDN Help we can come to know that this method will perform Java sleep.

This method has 2 parameters

  1. Second- How many seconds have to wait.
  2. Miliseconds- How many miliseconds have to wait.
Lets use this method practically and know the usage :)

 I added wait method in the activity provided wait seconds as 60 seconds. So after 1 mins only page-remove step will execute.


Lets trace this activity and check this . 


From the above pic you can see that wait method started and waiting for 1 mins to complete. 


After One minute method got completed and third step executed.

I hope you guys understand this topic. :)

2 comments:

  1. Excellent article with valuable information for businesses. If anyone is looking for professional digital marketing services to improve rankings, traffic, and brand awareness, contact our digital marketing agency​. We work with businesses of all sizes and provide result-driven online marketing solutions.

    ReplyDelete