Domain separation training
Transcript of Domain separation training
![Page 1: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/1.jpg)
Service NowDomain Separation
© 2015 Contender Solutions - Confidential & Proprietary
![Page 2: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/2.jpg)
Agenda◦ What is Domain Separation?◦ Domain Hierarchy◦ Record Segregation◦ Process Flow◦ Data Flow◦ Best Practices◦ Requirements for use◦ Important Information
© 2015 Contender Solutions - Confidential & Proprietary
![Page 3: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/3.jpg)
Allows multiple organizations to share one instance leveraging global properties and global processes across the entire instance◦ Allows each organization to segregate data within the single instance
Mainly used by Managed Service providers (MSPs) to host smaller customers◦ Lowers the cost of using ServiceNow◦ Centralizes instance administration◦ Accommodates instance upgrades
Technical Information◦ Domain Separation is the implementation of domains within a single ServiceNow
instance◦ A domain is a unique qualifier used within a single instance to separate data and
processes while still sharing global properties and global processes across the entire instance
© 2015 Contender Solutions - Confidential & Proprietary
What is Domain Separation?
![Page 4: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/4.jpg)
Parent and child relationships are created by the domain hierarchy
© 2015 Contender Solutions - Confidential & Proprietary
Domain Hierarchy
![Page 5: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/5.jpg)
1 ServiceNow Instance (1 Database, 1 Schema)
© 2015 Contender Solutions - Confidential & Proprietary
Record Segregation
Instance
![Page 6: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/6.jpg)
© 2015 Contender Solutions - Confidential & Proprietary
Process Flow
![Page 7: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/7.jpg)
© 2015 Contender Solutions - Confidential & Proprietary
Data Flow
![Page 8: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/8.jpg)
© 2015 Contender Solutions - Confidential & Proprietary
Best Practices
If the table is a base instance table do not change its domain status.◦ Exception to user created tables. These tables will need to be domain separated
due to them usually being data tables.
Just because a table has the sys_domain field does not mean its records should be domain separated.◦ Example: All workflows should be developed as global using conditions to
determine when workflows should execute.
For better performance client scripts should be used as little as possible.◦ Display Business rules should be used where possible
Limit synchronous calls as much as possible◦ Better: GlideRecord and getRefrence should be used with a callback option◦ Best: Replace GlideRecord and getRefrence with GlideAjax calls to return less data
![Page 9: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/9.jpg)
© 2015 Contender Solutions - Confidential & Proprietary
Best Practices
Always use ServiceNow coding standards◦ Never overwrite base instance process, override it where needed
The sys_overrides field indicates that a policy, application, or module at a lower level in the hierarchy overrides a record at a higher level
Once a child domain overrides a parent process the new child process runs for itself and all of its child domains
◦ Do not overwrite base instance classes, extend them when needed
You cannot override and set Active = False◦ The system will ignore the override because it is inactive◦ To override and deactivate:
Set a condition of false or sys_id | is | empty
Tables that extend from a domain separated table will not have the sys_domain on them, the base table sys_domain field value is used◦ Exception: Inbound Actions are extended from a domain separated table but
cannot be domain separated
![Page 10: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/10.jpg)
© 2015 Contender Solutions - Confidential & Proprietary
Best Practices
Always update choice lists in DEV in the global domain◦ If you change a choice state in PROD and then capture an update in DEV, all
choice states in PROD will be overwritten
When troubleshooting lists consider there are multiple views◦ Personal◦ Global◦ Domain specific
When troubleshooting forms consider there are multiple views◦ Global◦ Domain specific
When creating applications and tables consider if a sys_domain field is needed for separation
![Page 11: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/11.jpg)
© 2015 Contender Solutions - Confidential & Proprietary
Requirements For Use
![Page 12: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/12.jpg)
© 2015 Contender Solutions - Confidential & Proprietary
When Not To Use
![Page 13: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/13.jpg)
An existing instance can become domain-separated technically but is NOT recommended. You should start with a new instance.
A domain-separated instance has a control for converting data back to a non-domain-separated instance however this is NOT recommended. You should start with a new instance.
The Domain Separation plugin must be activated through a ServiceNow Technical Support request
© 2015 Contender Solutions - Confidential & Proprietary
Important information
![Page 14: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/14.jpg)
Contender Solutions is a ServiceNow partner, providing expert services in the ServiceNow platform space. If you’re looking to stand up ServiceNow for the first time, upgrade to the
latest version, or add functionality to an existing instance, we can help.
Data StorageBuilt around our core competencies, we take a strong approach to federal enterprise
architecture services by addressing all aspects of your IT needs. Our delivery process can help guide you in a system’s correct implementation and our certified professionals can
create effective solutions for a full spectrum of federal enterprise architecture needs.
Consulting ServicesOur industry experts will help you secure and optimize the most strategic component to success, your people. We begin our partnership by seeking to understand your business
targets, hardware and software needs and the gaps between your current and future state. We then develop a game plan with our Subject Matter Experts to close those gaps with the
right people, skills and a solution.
© 2015 Contender Solutions - Confidential & Proprietary
Who We Are
![Page 15: Domain separation training](https://reader033.fdocuments.net/reader033/viewer/2022061616/55c39f7dbb61ebf9558b4784/html5/thumbnails/15.jpg)
Contact Us
1511 N. Westshore Blvd., Suite 220Tampa, Florida 33607
813.642.3837
© 2015 Contender Solutions - Confidential & Proprietary