/ Forums / Advansys Formativ / Creating Solutions with Formativ / Check Post Button when using a Task / Reply To: Check Post Button when using a Task
Hello Ralf,
I created an applet the same as yours and integrated it on the task ‘On Send’ event. I received the message box when I both created a new task and sent it to myself, and when I created a posted, personal task and pressed the post button. I did have to re-start the GroupWise client to get the event to work. Did you re-start the client? I’m using GroupWise 6.5 and Formativ 1.6, but I don’t think anything has changed in either component that would be an issue. Try re-starting the client to see if you receive the events. If not, could you please let me know the exact steps you go through when creating and posting the task.
In terms of the two On Complete events firing when the task view is opened, I have been able to replicate what you describe. The Formativ event system sits over the top of the GroupWise event system, which is firing the On Complete event twice when task view are open. I don’t know why GroupWise is doing this. It sounds like a bug to me, which I’ll report to Novell today.
Depending on what you need to do, there are generally was around this, but they can be a little messy. You may need to save out to the message ID of the task if the view is visible to a temp file. Your applet would also check for the existence of this file on the On Complete event. If it finds it, and the message ID matches the message ID of the current task, you know this is the second event, which should be ignored. Your applet then deletes the temporary file. Messy I know, but something like this should work until we can get Novell to fix the double event.
Regards,
Advansys Support