Domain can not be changed for record producers (create incident or change)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2018 02:18 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2018 02:58 AM
I think below link will help you:
https://community.servicenow.com/community?id=community_question&sys_id=5d8f76e9db58dbc01dcaf3231f961927
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2018 03:02 AM
Try to set company of target record and domain should be automatically picked from company's domain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2018 03:12 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2018 03:32 AM
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:
Please mark my answer as Correct/Helpful in case that helps/understood to you.
Regards,
Vishrut