{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":985,"path":"api-reference/server-api-reference/c_ConnectActionResponseAPI.md","title":"ConnectActionResponse - Global","bundle":null,"doc_type":null,"release":"australia","body":"\n# ConnectActionResponse- Global\n\nThe ConnectActionResponse API provides a method to create a glide record.\n\nThe ConnectActionResponse methods are accessed through a global object \\(response\\) that is available only in Connect action scripts.\n\n**Parent Topic:**[Server API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/api-server.md)\n\n## ConnectActionResponse - newRecord\\(String table, Object values, String view\\)\n\nCreate a GlideRecord in the specified table with the specified values.\n\nOpens 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.\n\n|Name|Type|Description|\n|----|----|-----------|\n|table|String|Name of the table where the record is to be added.|\n|values|Object|An object of name value pairs where the names are field names in the table and the values are the field values.|\n|view|String|The form view to load. This parameter is optional.|\n\n|Type|Description|\n|----|-----------|\n|void| |\n\n```\nresponse.newRecord(\"incident\", {\n\tshort_description: conversation.document.short_description || \"\",\n\tcaller_id: conversation.document.opened_by\n});\n```\n\n"}}