Domain can not be changed for record producers (create incident or change)

vanessaheux
Tera Contributor

Hello

I have created record producers to create incident and another to create change request.

All records generated are defined in global domain and I would prefer to have them created in the user’s domain.

I tried to force the domain by a script (even by defining the domain as a constant) in the record producer and also with a variable but even with that, the domain is always global.

All changes and incidents created by users without record producers are defined correctly in the users domain.
How can I manage to force the domain with the value of the user’s domain ?

 

Regards

Vanessa Heux

7 REPLIES 7

Shashikant Yada
Tera Guru

I think below link will help you:

https://community.servicenow.com/community?id=community_question&sys_id=5d8f76e9db58dbc01dcaf3231f961927

Gurpreet07
Mega Sage

Try to set company of target record and domain should be automatically picked from company's domain.

vanessaheux
Tera Contributor

Hello

 

The first link does not help me as it does not deal with my problem.

For company idea, the field company is already filled but that does not change anything.

Shambhu5
Kilo Guru

Hi,

See catalog Items, Order Guides & Record Producers are never Domain seperated. Those are always Global by default

May I know your Use Case? Why exactly you are trying to create a variable and show/fetch there Domain value.

If you want only specific domain users should be able to access/see those Record Producers, that you can do.

In order to restrict other domain users to have visibility to Catalogs/Record Producers of some other Domain, we make use of User Criteria. Just create one User Criteria specifying a Domain name, and add this Criteria in available for related list tab, of your Record Producer, that will work. Only those Domain users will be able to see that Record Producer.

Please find below screen-shot to attach User criteria:

find_real_file.png

Please mark my answer as Correct/Helpful in case that helps/understood to you.

Regards,
Vishrut
find_real_file.png