This discussion is archived
1 Reply Latest reply: Dec 5, 2012 9:41 AM by AlejandroSosa RSS

Warning message in Oracle Workflow notification

587448 Newbie
Currently Being Moderated
Hi,

I have a requirement, where a warning message is to be shown to the user when he presses the Approve button of a notification.

I know that through post notification function, validations for a particular notification can be performed and an error message can be shown to the user using RESULT := 'ERROR: error_msg'

But can a warning message be shown ? If yes how?

Thanks in advance.


Souri Guha
  • 1. Re: Warning message in Oracle Workflow notification
    AlejandroSosa Journeyer
    Currently Being Moderated
    I would try by using a parameter to tell whether the warning message for the notification has been displayed. First time the notification is being approved the function raises the warning message and sets that attribute to indicate the warning has been displayed. Next attempt to respond the notification your function will check that attribute has been set and will do nothing, just let the notification go responded.

    You might as well present the warning message in the notification body and introduce another attribute to get the acknowledgement from the user. Only when that attribute is set to YES (acknowledge) will the post-notification function actually let the notification be approved, otherwise an error is presented for the user to acknowledge.

    Hope this helps

    Alejandro

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points