Hello - When we update IdentificationNumber in EmployeeIdentificationNumber business class, is their a way to send notification group of people?
Chad - Thanks for quick response. How do I create a email notification in lpl. Here is the lpl code for
IdentificationScreen lpl
EmployeeIdentificationNumber is a Form is primary title is "IdentificationNumber" Layout two column Employee label is "EmploymentID" Employee.Name.PreferredFirstAndLastName no label single column effective date two column Country IDNumberName no label display only single column IdentificationNumber label is "IdentificationNumber" IdentificationNumberDisplay label is "IdentificationNumberDisplay" display only visible when (DisplayHijriGregorianCalendar) single column ShowHijriAndGregorianCalendar label is "DisplayBothHijriAndGregorianCalendar" visible when (ShowHijriAndGregorianCalendar) two column text of "Hijri" two column IssueDate label is "IssueDate" display as hijri date ExpirationDate label is "ExpirationDate" display as hijri date two column text of "Gregorian" two column IssueDate label is "IssueDate" display as gregorian date ExpirationDate label is "ExpirationDate" display as gregorian date visible when (not ShowHijriAndGregorianCalendar) two column IssueDate ExpirationDate paragraph NotificationDays label is "SendNotification" text of "DaysPriorToExpirationOfIdentificationNumber" single column Pending IDNumberDocument.Title label is "Document" IDNumberDocument.File no label
Thanks Again
Srini, The code you are showing is the form and is not the correct place to make this type of configuration. As I referenced in my first response the change needs to be made to the Update action. You can configure the action or create an action extension that defines an exit rule to send the email. Sample code would be:
Exit Rules
send email
to This can be configuration variable, or email that is found in context (i.e. Employee.EmployeeWorkEmailAddress), or hard code
cc optional
bcc optional
from SeeStatementRelatedTo
Contents
This Must be valid Message... following lpl standards