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
Pingback: Audit Logging | qlikcentral·