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

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.
主站蜘蛛池模板: 福安市| 广丰县| 黎川县| 监利县| 永年县| 安仁县| 察隅县| 闻喜县| 富平县| 兖州市| 胶州市| 若尔盖县| 镇江市| 观塘区| 琼海市| 临海市| 扬州市| 文山县| 泗洪县| 儋州市| 策勒县| 翁牛特旗| 辉县市| 石家庄市| 赣榆县| 乌兰察布市| 钟山县| 景德镇市| 吉水县| 达拉特旗| 衡水市| 怀仁县| 福泉市| 德庆县| 清水河县| 洛扎县| 峨边| 营山县| 金川县| 峨眉山市| 绿春县|