# Batch Document Updates

> `UiPath.GSuite.Activities.BatchUpdateDocumentScope`

`UiPath.GSuite.Activities.BatchUpdateDocumentScope`

:::note
In **UiPath.GSuite.Activities** releases prior to 1.11.0, this activity was named **Batch Update Document Scope**.
:::

## Description

Sends a single batch update that includes the values from each of the Google Docs activities you add inside this activity. This activity must be added inside a [Use Google Document](https://docs.uipath.com/activities/other/latest/productivity/google-docs-application-scope) activity.

You can use the **Batch Document Updates** activity when you want to make multiple changes to a single document using the [Insert Text](https://docs.uipath.com/activities/other/latest/productivity/gsuite-insert-text) and/or [Replace Text](https://docs.uipath.com/activities/other/latest/productivity/gsuite-replace-text) activities.

Because the batch update is a single call to the docs server, the execution of the included activities is faster than running the same activities individually.

## Project compatibility

Windows - Legacy | Windows

## **Configuration**

#### In the body of the activity

* **Document ID** - The ID of the document to update. This property supports `String` variables and string formatted values.
* Add multiple **Insert Text** or **Replace Text** activities inside **Batch Document Updates**.

#### Properties panel

**Common**

* **ContinueOnError** - If set, the remaining activities are executed if the current activity fails. This field supports Boolean values.
* **DisplayName** - The display name of the activity. This property supports `String` variables and string formatted values.

**Input**

* **Document** - A reference to a Google Document in which the batched updates will take place. Typically obtained via the [Use Google Document](https://docs.uipath.com/activities/other/latest/productivity/google-docs-application-scope) activity.
* **DocumentID** - The ID of the document to update. This property supports `String` variables and string formatted values.
* **RequiredRevisionID** - The ID of the document version that you want to change. This property supports `String` variables and string formatted values.

**Misc**

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

**Output**

* **Result** - The result of the batch update operation.
