Audit Log – Conditional Statement / Variable

Code Banner

This code writes the outcome of a conditional statement to the audit log

 

/*************************************************************************************************

IF vRecovery = 0 then

/***************Update audit log****************/
CALL AuditLog (‘$(vCycleStart)’,’$(vAuditLog_Application)’,’Variable’,’Recovery’,’False’,’$(vAuditLog_Start)’);
/***********************************************/
// Code goes here

ELSE

/***************Update audit log****************/
CALL AuditLog (‘$(vCycleStart)’,’$(vAuditLog_Application)’,’Variable’,’Recovery’,’TRUE’,’$(vAuditLog_Start)’);
/***********************************************/

 

ENDIF

One response to “Audit Log – Conditional Statement / Variable

  1. Pingback: Audit Logging | qlikcentral·

Leave a comment