# Update Record

> `UiPath.OracleNetSuite.Activities.UpdateRecord`

`UiPath.OracleNetSuite.Activities.UpdateRecord`

The **Update Record** activity uses the the NetSuite [update](https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N3527090.html) operation to update a specific record (**internalid**).

After updating the record, the activity outputs the status of the request (success/failure information) in a `ResponseStatus` object (**NetSuiteStatus**) that you can use in subsequent activities (e.g., conditional logic).

## How it works

The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

1. Complete the [Setup](https://docs.uipath.com/activities/other/latest/legacy-integrations/netsuite-setup) steps.
2. Add the [Oracle NetSuite Application Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/oracle-netsuite-scope) activity to your project.
3. Add the **Update Record** activity inside the **Oracle NetSuite Application Scope** activity.
4. Click the **Configure** button inside the **Update Record** activity (this opens the **Object Wizard**).
5. Select the **Object** that you want to update and enter, at a minimum, the **internalid** of the record.
6. Create and enter a `ResponseStatus` variable for the output property.
   * Your input property values are sent to the [update](https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N3527090.html) operation.
   * The operation returns the `ResponseStatus` value to your output property variable.

     ![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/legacy-integrations-docs-image-180892-5abdafd5-01de4d7e.webp)

### Configure

To enter your **Update Record** property values, you must use the **Object Wizard** by clicking the **Configure** button.

To learn more, see the [Wizards](https://docs.uipath.com/activities/other/latest/legacy-integrations/netsuite-about) section in the **About** page.

* **Internalid** - The id of the NetSuite record that you want to update. To get the **internalid** value, see [Enable Show Internal IDs](https://docs.uipath.com/activities/other/latest/legacy-integrations/netsuite-setup) in the **Setup** guide.

## Properties

### Common

* **DisplayName** - The display name of the activity. This field supports only `Strings` or `String` variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Options

* **Record** - A record with additional set of fields that will be set during the operation. The record must be the same type as the selected object in the Configure wizard. If a field is configured in the Configure wizard, that value will override the value in the record.

### Output

* **ResponseStatus** - The status of the request (success/failure information). Enter a `ResponseStatus` variable (*UiPath.BAF.Models.ResponseStatus*). The `ResponseStatus` object includes three properties that you can use in other activities.
  + **Success** - `Boolean` - Specifies whether the API request was successful.
  + **ErrorCode** - `String` - The response error if the API request is unsuccessful (**Success**=*False*).
  + **Message** - `String` - The error message.
