Use the Create Record action to create a new data record in the ServiceNow Table app.

Prerequisites

Ensure that the following prerequisites are met:
  • Authenticate to the ServiceNow instance. For more information about Authentication action , see ServiceNow authentication action.
  • Create a table in your ServiceNow instance. This action only creates a new record for an existing table entry. For more information about creating tables, see Creating a table.

Procedure

  1. From the Actions pane, select ServiceNow > Records > Create Record and place it in the canvas.
  2. Enter the required table name in Table name.
    You can use a standard table name available in ServiceNow. For example, incident. You can use a custom user defined table name. For example, str_TableName.
    Note: Ensure that you enter the ServiceNow table name in lower case.
  3. Optional: Configure the inputs for the ServiceNow record in Fields and data.
    You can choose either Dictionary or Entry list. This example illustrates the Dictionary option.
    1. Select the Type as String, Number, Datetime, or Boolean based on the data you want to insert in the table.
    2. Enter a key-value pair, where key is the ServiceNow field name and value is the data you want to update in the field.
      Note: The key name for a field is different from the displayed label name. You can view the key name of the file by using one of the following options:
      • In your ServiceNow developer instance, go to System Definition > Language File. You can use the filter option to view fields for specific Tables. For example: Incident.
      • Right-click on the field name (as shown below) to display the key name. For example: caller_id is the key name for the field Caller.

      ServiceNow field name
  4. Enter Default in Session name.
  5. Save the record ID to a variable. For example, the record ID is saved to str_Sys_id.

    ServiceNow create record
  6. Click Run to save and run your bot.
  7. Verify whether the record is created in the ServiceNow table.
    1. Find the sys_id variable value in the Debug mode.
    2. Replace the ID in the ServiceNow URL (as shown below) to view the latest record created.

      View servicenow record created