GlideRecord setDisplayValue()
example:
var grGrpRole=new GlideRecord('sys_group_has_role');
grGrpRole.initialize();
grGrpRole.group.setDisplayValue('application development');
grGrpRole.role.setDisplayValue('agent_workspace_user');
grGrpRole.insert();
Comments
Post a Comment