cancel
Showing results for 
Search instead for 
Did you mean: 

Wait step taking longer time than the defined wait time

Former Member
0 Kudos

Hi,

We have very simple BPM with 3 steps: Receive, Wait and Send.

Wait step has following parameters:

Type: Wait Specified Time Period

Duration: 1

Unit: Minutes

From the above parameters idelly it should wait only for 60 sec and start the next step which is send step. But Wait step is taking following times: 1m 09s,1m 40s, 3m 40s, 1m 41s, 2m 10s, 2m 16s, 2m 46s, 1m 09s, 1m 40s, 3m 39s

Does anyone know what could be the reason for above longer wait time??

Thx

N@v!n

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The wait step in BPM isn't accurate. You'd better build in a wait step (user defined function) in your mapping. Create a simple dummy mapping (message type A to message type A) for this purpose. I'll post a sample code in a few minutes.

Former Member
0 Kudos

Pause for 10 seconds:

try {

Thread.currentThread().sleep(10000);

}

catch (InterruptedException ie) {

}

return (a);

VijayKonam
Active Contributor
0 Kudos

Hi Naveen,

How did you measure these times? Tha additional time might be because of the message processing time included or size of the message is bigger to process.. or may be because of the network traffic..!!

Check the each time stamp from message monitoring tool in RWB and verify for accuracy.

VJ