Hi Sanu,
I'm a ARAS newbie and I copy the code from your post and I used the new CCO.SystemEventLogger.CreateSystemLogRecord because the CCO.Utilities.CreateSystemLogRecord is deprecated now.
I assume it write a line when a user logon in "System Event Log", but I don't find any log line. What's wrong in my assumption?
Thank you for help.
//Store Last Successful Login Name
Item itm = this.newItem("Variable", "edit");
itm.setAttribute("where", "[variable].name='LastLogin'");
itm.setProperty("value", eventData.LoginName);
itm.apply();
//Create System Events Log
//CCO.Utilities.CreateSystemLogRecord("SuccessfulLogin", "onSuccessfulLogon", eventData.LoginName, "Login Successful");
CCO.SystemEventLogger.CreateSystemLogRecord("SuccessfulLogin", "onSuccessfulLogon", eventData.LoginName, "Login Successful");
return this;
Do you have a System Events Log Descriptor for your Event Type? If not, please create.
The Log Level setting of the System Events Log Descriptor must be >= than the value in the Variable SystemEventLogLevel.
Good luck - if you still read this
Do you have a System Events Log Descriptor for your Event Type? If not, please create.
The Log Level setting of the System Events Log Descriptor must be >= than the value in the Variable SystemEventLogLevel.
Good luck - if you still read this