{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":5282,"path":"conversational-interfaces/virtual-agent/va-record-action-util.md","title":"Record Action utility","bundle":null,"doc_type":null,"release":"australia","body":"\n# Record Action utility\n\nUse the Record Action utility in a Virtual Agent topic to create or update a ServiceNow record in a table.\n\n## Record Action utility properties\n\n<table id=\"table_jc5_kht_lsb\"><thead><tr><th>\n\nProperty\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nNode name\n\n</td><td>\n\nName that identifies this record action node in the topic flow.\n\n</td></tr><tr><td>\n\nVariable name\n\n</td><td>\n\nName of the variable that stores the created or updated record values. The variable name is automatically created from the **Node name** property.This option is not visible when the Action Type is **Update a Record**.\n\n</td></tr><tr><td>\n\nAction type\n\n</td><td>\n\nThe type of action to perform. Select one of the following:-   **Create a Record**: Creates a new record in the table that you specify.\n-   **Update a Record**: Updates an existing record based on the context of the conversation.\n\n</td></tr><tr><td>\n\nTable\n\n</td><td>\n\nIf you’re creating a record, select any table that is available in the instance.If you’re updating a record, select a variable for a record that is referenced in the conversation. For example, **User**.\n\n</td></tr><tr><td>\n\nField\n\n</td><td>\n\nSelect one or more fields in the ServiceNow table to be modified. For each field, select a valid value or specify input variables or script variables.\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nAdvanced\n\n</td></tr><tr><td>\n\nAttach file to record\n\n</td><td>\n\nA low-code method of attaching an image or other file to a record of your choosing.\n\n**Note:** Ensure that you've an uploaded file using the File Picker node before attaching it to a record with the Record Action node. The uploaded file is initially linked to the conversation table. When the incident is created with the uploaded file using the Record Action node, the file is linked to the incident table. It is no longer referenced through the conversation table, but the incident instead.\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nHide this node\n\n</td></tr><tr><td>\n\nConditionally show this node if\n\n</td><td>\n\nNo-code condition statement or low-code script that specifies a condition for presenting this node in the conversation. The condition must evaluate to true.\n\n</td></tr></tbody>\n</table>## Example Record Action utility\n\n\\[Omitted image \"va-record-action-utility-properties-vancouver.png\"\\] Alt text: Record Action utility displaying the various basic properties for updating a record.\n\n**Parent Topic:**[Assistant Designer utilities](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/va-utilities.md)\n\n"}}