15
Service Now Domain Separation © 2015 Contender Solutions - Confidential & Proprietary

Domain separation training

Embed Size (px)

Citation preview

Page 1: Domain separation training

Service NowDomain Separation

© 2015 Contender Solutions - Confidential & Proprietary

Page 2: Domain separation training

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

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

Parent and child relationships are created by the domain hierarchy

© 2015 Contender Solutions - Confidential & Proprietary

Domain Hierarchy

Page 5: Domain separation training

1 ServiceNow Instance (1 Database, 1 Schema)

© 2015 Contender Solutions - Confidential & Proprietary

Record Segregation

Instance

Page 6: Domain separation training

© 2015 Contender Solutions - Confidential & Proprietary

Process Flow

Page 7: Domain separation training

© 2015 Contender Solutions - Confidential & Proprietary

Data Flow

Page 8: Domain separation training

© 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

© 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

© 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

© 2015 Contender Solutions - Confidential & Proprietary

Requirements For Use

Page 12: Domain separation training

© 2015 Contender Solutions - Confidential & Proprietary

When Not To Use

Page 13: Domain separation training

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

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

Contact Us

1511 N. Westshore Blvd., Suite 220Tampa, Florida 33607

813.642.3837

[email protected]

© 2015 Contender Solutions - Confidential & Proprietary