#7578
Support 3
Participant

quote:


But will the OnSend-event also occur when I receive an appointment? The problem is, that the OnAccept-event doesn’t occur when I make a posted appointment nor when I undelete an appointment.


‘On send’ event will not occur when you receive an appointment. This event will occur when you send an appointment.

GroupWise only allow you to accept a incoming appointment so the OnAccept event will occur for the incoming appointment. ‘On accept’ event will not occur for the posted appointment.

Seems like you need a combination of events and perform your operation based on the event. You can integrate your applet to ‘On send’, ‘On accept’, ‘On undelete’, etc and then do the task based on the event executed. You need to check the ‘GWEvent’ for the type of event occurred. See below an example:

  
  select case GWEvent
    case "GW#C#SEND"  msgbox "Send event executed"
    case "GW#C#ACCEPT"  msgbox "Accept event executed"
    case "GW#C#DELETE"  msgbox "Delete event executed"
    case "GW#C#UNDELETE"  msgbox "Undelete event executed"
  end select

Hope this helps.

Regards,
Advansys Support