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.
Groovy and Notification Examples
Summary:
Can anyone share their trigger and groovy script for common notifications for HR Help Desk?
I have been able to create a few around changed attributes, like when a queue is changed, or when an SR gets assigned or reassigned, but I am looking for triggers around messages, and to the team of a queue when an SR is created but has not been assigned. I did you the examples from Oracle, but expanded on the messages
SR Assigned
Trigger : Before Update
if (isAttributeChanged('AssigneeResourceId')) {
try {
def recipientPartyId = AssigneeResourceId
def messageText = '"SR' + SrNumber + ' - ' + Title+'" has been assigned to you in queue "' + SvcQueue?.QueueName+'"'
0