Asynchronously execute Stored Procedures via Gateway Script

Hello oxanemi,

Your script is executing the stored procedures synchronously, not asynchronously. To execute them asynchronously you need to use system.util.invokeAsynchronous.

You can’t use system.util.invokeLater in this script because this function only exists in Clients and Designers. It does not exist in the Gateway scope. You can use time.sleep(1).

Best,