---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# ConnectActionResponse - Global

# ConnectActionResponse - Global {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The ConnectActionResponse API provides a method to create a glide record.

The ConnectActionResponse methods are accessed through a global object (response) that is available only in Connect action scripts.

## ConnectActionResponse - newRecord(String table, Object values, String view) {#ariaid-title2}

Create a GlideRecord in the specified table with the specified values.
Opens a form in the UI based upon the table, which replaces the
Table and Document fields in the Live Group
Profile record for the associated conversation.
{#r_CAR-newRecord_S_O_S__table_ltj_jqw_cv__entry__3}

| Name | Type | Description |
|-|-|-|
| table | String | Name of the table where the record is to be added. |
| values | Object | An object of name value pairs where the names are field names in the table and the values are the field values. |
| view | String | The form view to load. This parameter is optional. |
[Table 1. Parameters]

{#r_CAR-newRecord_S_O_S__table_ltj_jqw_cv} {#r_CAR-newRecord_S_O_S__table_mtj_jqw_cv__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 2. Returns]

{#r_CAR-newRecord_S_O_S__table_mtj_jqw_cv}  

    response.newRecord("incident", {
    	short_description: conversation.document.short_description || "",
    	caller_id: conversation.document.opened_by
    });


