Date printed: 11-18-2017 Last updated: 05-29-2014
To view our complete support knowledge base and most current version of this article visit support.timeips.com.
This article explains the ability to customize when an Audit Alert is sent.
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.
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
|[usersID]||This is the unique database ID of the employee whose event was audited.|
|[divisionID]||This is the unique database ID of the division of the employee whose event was audited.|
|[eventLogID]||This is the unique database ID of the event that was audited.|
|[adjTimeIn]||This is the adjusted time in of the event after the audit has taken place.|
|[adjTimeOut]||This is the adjusted time out of the event after the audit has taken place.|
|[audit_time]||This is the Unix timestamp of when the audit was made. Convert this with the utcdate function.|
|[audit_part]||This is the part of the event that was audited, either 'in', 'out', or 'event'|
|[audit_eventAction]||This is the action on the event that was audited, either 'create', 'edit', or 'delete'|