– Is the message is draft (not send or saved) or standard message (received, sent, etc)?
– How are you executing the code? For example, you need to execute the code “groupwise.ItemMessageIDFromView” when the message view is opened. We recommend to execute the applet from the message Toolbar to access the message ID.
It could be a problem in your GroupWise client, you may need to upgrade to the latest point release.