Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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
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.

Name of the recipient for a digest appears several times in Alert

edited Jun 12, 2021 2:14PM in Learning 4 comments

Content

Hi there,

I have set a digest for the line managers to receive with info about the overdue courses of their direct reports.
The filters are 

${learningItemType} = 'ORA_COURSE'
${assignmentType} = 'ORA_REQUIRE_ASSIGNMENT'
${assignmentStatus} = 'ORA_ASSN_REC_ACTIVE'
${assignmentDueDate} >= sysdate-2 AND ${assignmentDueDate} <= sysdate-1

The template is 

Recepient
Worklist: ${AlertUtils.empManager(learnerLearningRecords.assignedToId).UserName}
Grouped by: ${AlertUtils.empManager(learnerLearningRecords.assignedToId).UserName}

The message starts like that

Dear ${learnerLearningRecords.assignedToPersonDetails.lineManagerDisplayName},

You receive this notification as Line Manager of the following employee(s) who have these regulatory courses overdue.

${AlertUtils.write("<table border=\"1\" border-color=\"#B29581\"><tr><th>Assigned to</th> <th>Course name</th> <th>Assigned by</th> <th>Assigned On</th> <th>Due Date</th></tr>")}${AlertUtils.loop('learnerLearningRecords','<tr><td>${assignedToDisplayName}</td><td>${learningItemTitle}</td><td>${assignerDisplayName}</td><td>${AlertUtils.formatDate(assignmentCreatedDate,\'dd-MMM-yyyy\')}</td><td>${AlertUtils.formatDate(assignmentDueDate,\'dd-MMM-yyyy\')}</td></tr>')} ${AlertUtils.write("</table>")}

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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