ServiceNow get record action

Use the Get Record action to retrieve a record using the record ID stored in sys_Id variable from ServiceNow.

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 > Get Record and place it in the canvas.
  2. Specify details in the following fields:
    1. Table name: Enter the ServiceNow table name.
    2. Record sys_id: Enter the sys_id of the record. If the record ID is captured in a variable you can provide the variable name.
    3. Select List for the Field names (Optional) field. Enter all the fields that you want to read.
    4. The session name displays as Default.
    5. Save the outcome to a variable. For example, the object ID is saved to dict_GetRecordResults.

    Get record action for service now
  3. Click Run to save and run your bot. When the bot is run successfully, the retrieved record is stored in the specified variable.