Name
sn_agent.AgentReferencedFieldStyle
Description
No description available
Script
var AgentReferencedFieldStyle = Class.create();
AgentReferencedFieldStyle.prototype = {
initialize: function(record) {
this.record = record;
},
isEqual: function(fieldName, value) {
if (this.record.getTableName() == "sn_agent_ci_extended_info")
return this.record.getValue(fieldName) == value;
if (this.record.getTableName() == "sn_agent_cmdb_ci_agent" && this.record.isValidField("agent_extended_info"))
return this.record.agent_extended_info[fieldName] == value;
return false;
},
type: 'AgentReferencedFieldStyle'
};
Sys ID
237377b753724010c113ddeeff7b121a