/ Forums / Advansys Formativ / Creating Solutions with Formativ / Compose command in C3PO… / Reply To: Compose command in C3PO…
Sure, on the Integrations tab in FormativCentral, just select the On Compose check box under the desired message type -> Events tree options. Once selected, this means that the applet will execute when the #compose event fires.
You can also interrogate the applet’s global GWEvent variable to determine which GW event initiated it. For example, to test whether the the On Reply event initiated the applet, you could use:
If GWEvent = "GW#C#REPLY" Then
'Do something
Else
'Do something else
End If
The other GWEvent constant string values are shown below. These are the same as listed in the Novell C3PO SDK header files.
GW#C#ACCEPT
GW#C#ARCHIVE
GW#C#COMPLETE
GW#C#COMPOSE
GW#C#DECLINE
GW#C#DELEGATE
GW#C#DELETE
GW#C#DOC_CHECKIN
GW#C#DOC_CHECKOUT
GW#C#DOC_RESETINUSE
GW#C#FORWARD
GW#C#INFO
GW#C#OPEN
GW#C#PRINT
GW#C#PROPERTIES
GW#C#REPLY
GW#C#RESEND
GW#C#SAVE
GW#C#SAVEAS
GW#C#SETALARMS
GW#C#UNDELETE
GW#C#VIEW
GW#C#SEND
Please let us know if you have any further questions.
Best regards,
Advansys Support