Unable to modify email properties after Utah upgrade

Sourabh1
Tera Contributor

Dear All,

 

I would like to request for a help on an issue wherein after Utah upgrade, we as admins are not able to edit or create properties. We are trying to enable the email inbound and outbound properties but it is greyed out. We have not faced this issue in San Diego version.  

I thought if background script will help and wrote the below script to check if I am able to fetch the value

 
var gr=new GlideRecord('sys_properties');
gr.addQuery('name','glide.email.read.active');
gr.query();
if(gr.next()){
    gs.print(gr.getValue('value'));
}
 
I get messages like below:
[Domain Paths] Query against table sys_script restricted by domain values [SNOW[864190b96970600010b88f3cdb9a136e], global]
 

 

Request to kindly help.

 

Thanks

Sourabh Saha

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @Sourabh1 ,

Run the below script in your Background script.

var gr = new GlideRecord('sys_properties');
gr.addActiveQuery();
gr.addQuery('name','glide.email.smtp.active');
gr.query();
if (gr.next()) {
gs.print(gr.value);
gr.value = 'true'
gr.update();
gs.print(gr.value);

}

 

View solution in original post

6 REPLIES 6

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @Sourabh1 

Greetings!

Check the ACLs on properties table and check if Admin override is enabled or not.

please mark the answer as helpful and correct if your query is resolved.

 

Kind Regards,

Ravi Chandra

msmo
Kilo Guru

Make sure your Application scope is set to Global.

 

Thanks.