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.

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!