I have a script that runs on the gateway that involves going through a lot of folders and comparing them to folders we expect. Depending on the depth this can take a few minutes. I had not used system.util.sendRequest and thought it would be easier than sending a message to the gateway, and the sending one back, and setting up a client event handler. I was not expecting this to show up though which seems to kind of defeat the purpose of having it run on gateway out of sight and mind of the client user.
Is there a way to disable this popup from showing? Or to get around this must I necessarily have the gateway send a message back to a client message handler?
Was never answered, I assume that it probably cannot be done and I must use sendMessage to the gateway and send message back to the appropriate client.
You can use system.util.sendRequestAsync to make the request/response interaction easier and prevent that popup. You just have to modify your logic a little bit to do: