2 Replies Latest reply: Jul 20, 2012 4:53 AM by user648708 RSS

    Workflow notification using wfstd_approve lookup result value in code

    Navneet01
      Hi
      I am using notification with result field set as standard approve lookup and same in the corresponding message.
      So in the notification user can see 2 buttons approve and reject apart from the reassign and getmoreinfo buttons.

      Now as per new requirement we have added few respond attributes to which we want user to add some values in the notification before approving.
      So i have created a procedure and mentioned that name in the function name field of the notification and we are then checking if the respond attributes are null and give error on notification if they are left null.

      But the issue is that we dont want this check to be done if user clicks on reject button. So how do we check in the code in respond/validate that whether the user pressed approve or reject button.

      Thanks
      Navneet