Custom Message Update Email Notification is not working Expected
Summary:
I have created a Custom Message Update Email Notification by creating a trigger and using the Groovy Script, When the Employee will reply on to the Service request through an email which employee has received after raising an SR , then Agent should get the Email Notification as Message has been updated.
Groovy Script :
def helpdeskSR = HRHelpDeskRequest
def stripeCd = helpdeskSR?.StripeCd;
def srId = helpdeskSR?.SrId;
def parentSR = HRHelpDeskRequest
if(stripeCd == "ORA_SVC_HRHD")
{
if (MessageTypeCd=='ORA_SVC_CUSTOMER_ENTRY')
{
try
{
def messageText = """
FYI: Your Help Desk Request has been updated
"""+ MessageContent +"""
Please review the people service request within Oracle HCM to view any updates.
0