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.
What is the groovy script for notification trigger to resource team members
Summary:
Requirement: If agent assigns the SR to himself other agents in the resource team should receive the notification.
I tried with the given code but the notification script is going only to agent who assigns the SR to himself. But as per requirement it should go to the other resource team member also.
Code Snippet (add any code snippets that support your topic, if applicable):
try
{
def recipientPartyId = AssigneeResourceId
def messageText = "A SR #" + SrNumber + " has been assigned to" + AssigneePersonName + " in" + QueueName + "."
/* Case I: SR Assigned */
if (isAttributeChanged("AssigneeResourceId") && AssigneeResourceId != null)
{
def map = new HashMap()
map.put("Channels",["ORA_SVC_BELL", "ORA_SVC_EMAIL"])
Tagged:
0