How to close message box

After doing a message box activity, i want to close the message box but I tried using click “ok” or send hotkey enter but both didn’t work because how do I indicate it on screen? the message box only pops up after I debug and I cannot edit it when it is debugged

message box blocks the current executing thread meaning the process wont continue until you manually clicked OK

you can use a parallel activity that calls a workflow in a separate thread that clicks the messagebox like this