We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Domain Separation business rules issues

Eli7
Tera Expert

Hi All,

In my PDI have written a BR to update sys_user preferred language if the user changes the language in user preferences. I works fine in my PDI.

 

I added this BR in our Domain Separated instance and no matter what domain I try I cannot get it to run or when it runs it doesn't update the preferred_language field.

 

It very early days for me working with Domain Separation even though I have done the nowLearning course. 

 

Does anyone have any idea on this? I am also thinking I would make the most sense to run this for all user regardless of the Domain.

 

Many Thanks

 

 

 

2 REPLIES 2

Maik Skoddow
Tera Patron

"In my PDI have written a BR to update sys_user preferred language if the user changes the language in user preferences." -> Can you please elaborate more on that as I don't understand the underlying requirement and purpose.

Consider that the script works fine in my PDI.

 

In the Domain separated instance I cannot get it to update the preferred language in sys_user table. I added it in global scope and run it a user in global domain but it didn't update the field. I tried it in other domains by added the BR in the domain and made the language change for a user in that domain user Impersonation.

 

Any thoughts on why it might not run?

 

Thank you