AnsweredAssumed Answered

Send Pop-Up messages via script

Question asked by SamahSohrab607228 on Jun 18, 2015
Latest reply on Jun 19, 2015 by joel_wiesmann_automic
Hello,

I'm trying to help users that are seeing a slow performance in the client by sending them a pop-up message to close the application and open it again (due to the issues with the Automic client).

I'm able to get the Notification Object to send the message, but I was hoping to use the SEND_MSG function. But it doesn't seem to work.

Here is the script I've written
:SET &RET# = SYS_USER_ALIVE("SSOHRAB","CORP")

:IF &RET# = "Y"
:  print "sending message"
:  send_msg "SSOHRAB", "CORP", "Testing message, we are in Incredibles"
:else
:  set &user# = sys_user_name()
:  print &user#
:  set &dep# = sys_user_dep()
:  print &dep#
:  print "user not alive"
:ENDIF

I look at the Report and I see the line "sending message", but no pop-up shows up on the screen.

Outcomes