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.
Thanks,
Prashanth
Product version: Caché 2017.1
In BPL use delay:
In Custom Code BP check MakeTimerCall and make something similar.
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
Thanks,
Prashanth
in object script the command is HANG 10 to wait for 10 sec
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")
Social networks
InterSystems resources
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue