Creating a custom trigger for Infor Process Automation using LPL

Lawson applications deliver many triggers within the code itself. It is possible that you might need a custom trigger. If you are knowledgeable about Landmark Pattern Language (LPL), you can create a custom trigger.

Following 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\")">