InterviewSolution
| 1. |
Define Trigger? |
|
Answer» A trigger is a piece of code that can be ADDED before or after the execution of an operation is performed on the OpenPages platform. This piece of code can perform anything that is written in Java. A trigger consists of the following two parts: A rule - this is a condition that applies to the operation being executed and the parameters involved in the operation. For example,
One or more event handlers - an event handler is executed if the current operation satisfies the rule defined for the trigger. These ACTIONS can perform any business logic. For example,
A trigger is a piece of code that can be added before or after the execution of an operation is performed on the OpenPages platform. This piece of code can perform anything that is written in Java. A trigger consists of the following two parts: A rule - this is a condition that applies to the operation being executed and the parameters involved in the operation. For example, One or more event handlers - an event handler is executed if the current operation satisfies the rule defined for the trigger. These actions can perform any business logic. For example, |
|