prashanth ponugoti · Feb 7, 2022

How to delay few seconds in BusinessProcess custom code

Hi Community,

Here we have requirement to process messages min 10 sec delay. Current time it is taking my businessProcess is less than 1 sec.

To implement this requirement , I need to sleep 10 sec in business process custom code.

Could somebody help me to implement delay in BusinessProcess.




Product version: Caché 2017.1
0 315
Discussion (6)1
Log in or sign up to continue

could you give me object script code snippet for wait /sleep for given seconds.

because same code i want to use wherever i need to wait intentionally



The issue is it would actually hang the process for 10 seconds. MakeTimerCall implementation would not - BP could process other messages in the meantime.

Can you try this 

Set tSC = ..SetTimer("PT25S")