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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s