/ Forums / Advansys Formativ / Creating Solutions with Formativ / Is current ComposingItem available after SEND is canceled?

  • Creator
    Topic
  • #4235
    rdryan
    Participant

      Hi

      I’m developing an applet to detect customer account information if found in an outbound email subject line or message body. The applet fires on an OnSend before event. A warning msgBox appears when possible customer account information is detected, and the user can optionally send the message, or not. Is there a way to return the user to the current composing item or current message Id if they decide not to send? I’ve tried “void GroupWise.Cancel()” which kind of works, but not as slick as I’d like. This method cancels the SEND, then GroupWise takes the user to the SAVE message dialog as expected. Of course the email is closed and must be re-opened from Work in Progress. A preferred solution would be to return the user to the current email to correct the customer account information issue.

      Thanks you for your ideas.

    • Author
      Replies
    • #7559
      Support 3
      Participant

        Use the groupwise.CancelGroupWiseEvent and set this property value to TRUE. This method will cancel any GroupWise event that caused an applet to execute. See the Formativ Language Guide for more information.

        Hope this helps.

        Regards,
        Advansys Support

        #7558
        rdryan
        Participant

          Thank you!
          This did the job.

          rdryan

          #7560
          Support 3
          Participant

            Thanks for your feedback.

            Regards,
            Advansys Support

          Viewing 3 replies - 1 through 3 (of 3 total)
          • You must be logged in to reply to this topic.