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

Unable to trigger an email notification once the SR Is assigned to the queue

edited Jan 26, 2026 7:49PM in Help Desk 1 comment

Summary:

We have used the below script but it doesn't send any notification, please suggest.

Trigger: AfterTransactionPosted

if (isAttributeChanged('QueueId') && AssigneeResourceId == null) {
try {
def messageText = 'HR Help Desk Request ${SrNumber} has been assigned to a queue ${QueueId}.' if (QueueId) {
def map = new HashMap()
map.put("Channels", ["ORA_SVC_BELL"])
map.put("MessageText", messageText)
map.put("RecipientQueueId", QueueId)

adf.util.sendNotification(adf, map)
println("Notification sent to all members of QueueId: " + QueueId)
} else {
println("QueueId is null. No queue notification sent.")
}

} catch (e) {
println("Error sending queue assignment notification: " + e)
e.printStackTrace()
} }


Content (please ensure you mask any confidential information):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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