Building a many-to-many table

Let's begin building a many-to-many table. To do this, perform the following steps in Studio:

  1. Click Create New Application File, select Table, then Create. Fill out the form, and Save.
    • Label: Reservation
  1. Using the Table Columns related list, add the first date field to the table:
    • Column label: Arrival
    • Type:Date
    • Then add another, as below:
    • Column label: Departure
    • Type:Date
  1. Finally, since we want to reserve a room, let's also create a reference field called Room:
    • Column label: Room
    • Type:Reference
    • Reference:Room [x_hotel_room]
  1. Click Submit to save.
  2. Then, click Create New Application File, select Many to Many Definition, then Create. Use the following data to fill out the form.
    • From table: Reservation ...

Get ServiceNow: Building Powerful Workflows now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.