Use the Update Record action to update a record in ServiceNow with name-value pairs.

Prerequisites

Ensure that you are authenticated before initiating any ServiceNow action. For more details, see ServiceNow authentication action.

Procedure

  1. From the Actions pane, select ServiceNow > Records > Update Record and place it in the canvas.
  2. Enter the ServiceNow table name in Table name.
    Note: Ensure that you enter the table name in lower case.
  3. Enter the sys_id of the record in Sys_id.
    If the record ID is mapped to a string variable, you can choose this string variable.
  4. Do one of the following in Fields and data:
    • Dictionary: You can either build a dictionary with key-value pair using Dictionary option or select a dictionary variable using Variable option.
    • Entry list: Select this option to create custom name-value pairs. Click Add entry, and enter the required field names and values. For more information about supported field names, see ServiceNow Table API.
  5. Enter an appropriate name for the session in Session name.
    By default, the session name is set as Default.
  6. Click Save to save the action settings.

    Update record action for service now
  7. Click Run to save and run your bot.
When the bot is run successfully, your record is updated with the specified details. You can log into your ServiceNow instance to verify if the record is updated. Alternatively, you can also use the Get Record action to retrieve the updated record data.