How to set up an email notification for Requested for in the approval table?

Lisa Goldman
Kilo Sage

Hello,

Could some one please advise on how to set up an email notification for Requested for in the approval table?

Thank you so much!

find_real_file.png

7 REPLIES 7

Aman,

STEP 1 - Created an event on RITM table:

find_real_file.png

STEP 2 - Created Notification on RITM Table.

Questions:  What will be in "When to send" and "What it will contain" Tabs

find_real_file.png

 

STEP 3 - Need help on write up a BR on the "sysapproval_approver" table. What should be in there?

 

Thank you

 

Jorn van Beek
Tera Guru

I asume you are talking about approvals on RITM and you are looking for the requested by on the RITM.

Since the change to a document id field many versions ago you cannot select any fields of the item you are approving. Atleast not in the selection.

There are 2 common ways to still add users to the mail.

  1. Ensure the persons you want to send the mail to are added to parm1 of the event. Herefor you need to find the BR creating the event and have the requested for added.
  2. Via a mailscript. in the mailscript have a line like:
    email.addAddress("to", <email adress>, <display name>);​

    You can use call this mailscript at the end or at the start of the notification text.

    PS. this is also the way if you want to add cc or bcc adresses.

 

I used the condition on the ritm table to look for Approval field changes from Requested to Approved, then trigger the notification.  It works fine.

Thank you everyone suggestions.