Audit Transaction Example

Audit Transaction Example
The Audit Transaction (Audit Employee Changes event rule) example creates child rows on designated parent changes, with control over which attributes
Layer7 Live API Creator
 copies into the audit trial. This example requires only this event rule. Auditing is the simplest example of a family of Insert Into From rule extensions.
To illustrate this example, the following code snippet shows the code for the Audit Employee Changes event rule that is included in the
if (logicContext.verb == "UPDATE") {
  SysLogic.insertChildFrom("employee_audits", logicContext);
  row.notes = "Hello from a JavaScript rule for " +;
For more information: