/ Forums / Advansys Formativ / Creating Solutions with Formativ / On Send event – How to manage exceptions ? / Reply To: On Send event – How to manage exceptions ?
May 27, 2003 at 4:59 pm
#6629
The GroupWise.CancelGroupWiseEvent should do what you want. You will need to be using a more recent version of Formativ for this work (1.5.3 or newer I suspect).
Here’s an example. Integrate this applet on the email On Send event, restart the client if required, then try to send an email message.
Sub Main(Client, GWEvent)
if MsgBox("Do you accept the terms and conditions?", vbYesNo, "Formativ") = vbNo then
GroupWise.CancelGroupWiseEvent = true
end if
End Sub
I hope this helps.
Advansys Support