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

New Assignment Notification (Copy of WLF0010)

edited Jun 13, 2022 3:02PM in Learning 2 comments

Summary:

Update the standard notification 'New assignment notification' with custom condition.

I'm trying to update the template with the following element :

"Dear ${assignedToDisplayName},

${assignerDisplayName} has assigned you a ${AlertUtils.getLookupMeaning('ORA_WLF_LEARNING_ITEM_TYPE', learningItemType)}: ${learningItemTitle}.

<% if (assignmentType =='ORA_REQUIRE_ASSIGNMENT') {%>

This is a required assignment. It is due by ${AlertUtils.formatDate(learnerLearningRecords.assignmentDueDate)}

<% } %>

<% if (learningItemType == 'ORA_COURSE') { %> 

<% if (assignmentSubStatus == 'ORA_ASSN_REC_NO_OFFR') { %>

Select an offering

<% } else { %> 

Click here to start learning!

The activities of the selected offering are:

<% } %>

<% } %>

<% if (learningItemType == 'ORA_SPECIALIZATION') { %>

Click here to start learning!

The activities of the specialization are:

<% } %>

<% } %> ${AlertUtils.write("<table border=\"1\"><tr><th>Activity Title</th><th>Description</th><th>Activity Type<th>Date</th><th>Start Time</th><th>End Time</th></tr>")}${AlertUtils.loop('completionDetails','<tr><td>${activityTitle}</td><td>${AlertUtils.nullIf(activityDescription," ",activityDescription)}</td><td>${activityTypeMeaning}</td><td>${AlertUtils.nullIf(activityDate," ",activityDate)}</td><td>${AlertUtils.nullIf(activityStartTime," ",activityStartTime)}</td><td>${AlertUtils.nullIf(activityEndTime," ",activityEndTime)}</td></tr>')}${AlertUtils.write("</table>")}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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