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: AI Resources for Oracle Cloud HCM – Go Here

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

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!