Creating a custom trigger for Infor Process Automation using LPL
Lawson applications deliver numerous triggers within the code itself but you may sometimes need a custom one. If you are knowledgeable about Landmark Pattern Language (LPL), you can create a custom trigger.
This is an example of a trigger added to EmployeeCompProgram.
initiate CompProgramAppr process
title is "CompProgram<CompPrgram.Description>For<Employee.Name.
PreferredFirstAndLastName>
Criteria
HROrganization
CompProgram
CompProgramVersion
category filter is CompProgramMgr //CompProgram.CompProgramManager
Variables
Variables
HROrganization
Employee
CompProgram
CompProgramVersion
EmployeeCompProgram
DirectSupervisor
WorkAssignment
EmployeeEmailAddress
AgentEmployee
EmployeeName
URLs
"<linkback(webapp is EmployeeSelfService
navigation is ViewCompensationProgram
text is \"ViewTermsAndConditions\")">