You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now

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"])

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!