Applies to versions: 2.1, 2.2, 2.3, 2.4, 2.5, 3.0
Audit Alert Expressions
This article explains the ability to customize when an Audit Alert is sent.
Purpose of Expressions
When TimeIPS processes audits, it will look for any alerts to trigger. With expressions you can apply custom logic for if the alert should be sent.
Defining Payroll Items With Expressions
To use custom logic you must define the expression in the "Expression" field for that Audit Alert. Expressions must start with an equals sign '='. They provide a single line of code that is evaluated and returns TRUE or FALSE.
Audit Alert expressions utilize the same expression parser as Custom Reports. As such the same functions are available. The list of functions is available at this article.
The following information is available
|Variable Name ||Description
||This is the unique database ID of the employee whose event was audited.
||This is the unique database ID of the division of the employee whose event was audited.
||This is the unique database ID of the event that was audited.
||This is the adjusted time in of the event after the audit has taken place.
||This is the adjusted time out of the event after the audit has taken place.
||This is the Unix timestamp of when the audit was made. Convert this with the utcdate function.
||This is the part of the event that was audited, either 'in', 'out', or 'event'
||This is the action on the event that was audited, either 'create', 'edit', or 'delete'
To send audit alerts in all cases:
To send audit alerts only for time events that are deleted:
To send audit alerts only for hourly employees: