官术网_书友最值得收藏!

Database structure

Like any other database-based application, information in ServiceNow instances is stored in structured and related tables, which consist of columns and rows of records. Tables can be related to each other in the following ways:

  • Extensions: A table in ServiceNow may extend an existing table (parent class), thereby ensuring that all of the fields of the parent class are included as part of the child table. For example, the Incident table extends the Task table, and thus the Incident table has all of the fields that are available in the Task table.
  • One to many: A table can consist of a field that refers to a record on another table. For example, the assigned to (assigned_to) field in the Incident record might contain a reference to a record in the users (sys_users) table. The Reference, Glide List, and Document ID field types can be added to create a one-to-many relation between two tables.
  • Many to many: Two tables can have a bidirectional relationship when they both refer to a record stored in each another.
  • Database views: This is a virtual relationship between two or more tables that can be used to generate complex reports.
In ServiceNow, a table that extends another table is referred to as a child class, and the table it extends is referred to as a parent class. Another table can further extend a child class if it is marked as extensible. In such a scenario, it is a table that is both a child and parent, as it extends and is also an extension of a table. A parent class that is not an extension of another table is called a base class.
主站蜘蛛池模板: 余江县| 阿克苏市| 浪卡子县| 桐庐县| 苏尼特左旗| 剑阁县| 仁寿县| 湛江市| 阿巴嘎旗| 泾川县| 巴中市| 霍山县| 新兴县| 启东市| 荣昌县| 河西区| 怀宁县| 临澧县| 宝鸡市| 曲沃县| 凤冈县| 大埔区| 镇赉县| 东至县| 洪泽县| 应城市| 丘北县| 德保县| 凭祥市| 报价| 南部县| 从江县| 汉寿县| 盐边县| 延川县| 天峻县| 黔西县| 安乡县| 遂宁市| 紫金县| 五河县|