Get Started with Redwood for Oracle Cloud HCM Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
Splitting subject and message content under message groovy script
Hi Team,
I created below groovy script to send the email notifications for message. However, I am not able to split the subject and message content. I created map.put for subject and message text separately. However, the message content is displayed as subject.
Expected Subject: Updates in Helpdesk Request
Display: Dear Employee
def subject = "Updates in Helpdesk Request " + HRHelpDeskRequest?.SrNumber;
def messageContent = "Dear Employee,";
def messageContent1 = "\nYour Helpdesk Request-" + HRHelpDeskRequest?.SrNumber + " - " + HRHelpDeskRequest?.Title +" has been updated.";
map.put("Subject", subject);
map.put("MessageText", messageContent + "\n" + messageContent1);
Thanks.
Tagged:
0