- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 06:02 AM
We want similar sysids for sys_user and sys_user_group records in prod and non-prod instances.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 06:32 AM - edited 10-03-2024 06:33 AM
Hi @Kishor O ,
If you want to keep the sys_ids same across environments for 'sys_user' and 'sys_user_group' then only option I can think of is, create the users and groups in prod as there would be jobs to pull data from 3rd party applications and all and then export the xmls for those two tables and import those in lower environments.
We follow this approach in our client environment.
If you create new records by any other means they would be having different sys_ids.
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 06:32 AM - edited 10-03-2024 06:33 AM
Hi @Kishor O ,
If you want to keep the sys_ids same across environments for 'sys_user' and 'sys_user_group' then only option I can think of is, create the users and groups in prod as there would be jobs to pull data from 3rd party applications and all and then export the xmls for those two tables and import those in lower environments.
We follow this approach in our client environment.
If you create new records by any other means they would be having different sys_ids.
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 07:15 AM
You can do what Animesh Das2 suggests. If you want reference fields to sys_user and sys_user_group on the many tables with those reference fields to refer to the new records in both tables, the Clone prod over the sub-prod instance.