Popup message for new request submitted

Hi

I need functionality similar to the “New Mail Arrives” pop-up dialogue box of Lotus Notes, in one of the applications.

The scenario is:

User submits a request in application 1. The assignee is mentioned in the request. And a popup message should be displayed to the assignee about the New Request submission. NOTE: The application 1 need not be opened. Request is submitted from a customized button in User 1’s mailbox. So, the application 1 is not required to be open.

Does anybody have a solution to this issue?

I have tried the server command to broadcast. However, it requires the application to be open. And sending broadcast to individual is not triggering properly. The broadcast is only being sent to people who have opened the application on their workspace.

Your help is appreciated.

Gayatri

Subject: Popup message for new request submitted

Well if Notes is not running then you cannot interface with a “Notes User”. is your serevr running on windows? If so does your network support WinPop messages? If so then you’d need to store all user’s LAN IDs in their person docs. In your request doc do a lookup and grab the user’s LAN ID. Then create a script to build a bat file on the server and run it.

filename$ = "c:\temp\winpop.bat"

lanid$ = "<LAN ID goes here>" & " " ' set this value from field on doc

' Create bat file on the fly

fileNum% = Freefile()

Open filename$ For Output As fileNum%

' add each lne to file

Print #fileNum%, "@ECHO OFF"

Print #fileNum%, "NET SEND " & lanid$ & "you have a new request assigned to you"

Close fileNum%

Sleep 1

' check to make sure the batch file exists

check$ = Dir$(filename$)

' If we can't find the batch file then exit

If Len(check$) = 0 Then

	Print "batch file not found"

	Exit Sub

End If

 ' now run the batch file to send win pop message

result = Shell( filename$ )

Sleep 1

Kill( filename$ )

I ran this successfully in a db on a W2K3 server using my LAN ID in lanid$ and it worked fine. HTH

Subject: RE: Popup message for new request submitted

My server is on Unix platform. So, could you please help me with a code that could run in Unix server.