# Refresh Workbook Data

> `UiPath.Tableau.Activities.RefreshWorkbookData`

`UiPath.Tableau.Activities.RefreshWorkbookData`

Uses the Tableau [API](https://help.tableau.com/v2019.2/api/rest_api/en-us/REST/rest_api_ref_workbooksviews.htm#update_workbook_now) to refresh the data in a specified workbook.

This activity is the equivalent of selecting a workbook using the Tableau Server UI, and then selecting Refresh Extracts from the menu (also known as a "manual refresh").

## How it works

The following steps are 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/tableau-setup) steps.
2. Add the [Tableau Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/tableau-scope) activity to your project.
3. Add the **Refresh Workbook Data** activity inside the **Tableau Scope** activity.
4. Create an enter values for the [Input](https://docs.uipath.com/activities/other/latest/legacy-integrations/tableau-refresh-workbook-data#refresh-workbook-data) properties.
5. Create and enter an `ResponseStatus` variable for the [Output](https://docs.uipath.com/activities/other/latest/legacy-integrations/tableau-refresh-workbook-data#refresh-workbook-data) property.

## In the body of the activity

* **Site ID** - The ID of the site that contains the view. Enter a string or `String` variable or click the **Find** button to display the **Find site** window, where you can see all the site IDs found on the Tableau instance.
  1. Select a site ID and click **Done**. The **Site ID** property is automatically populated with the selected value.
  2. Copy the Site ID string, to use it in the **Workbook ID** property.
* **Workbook ID** - The ID of the workbook to download. Enter a string or `String` variable or click the **Find** button to display the **Find Workbook** window.
  1. Paste the Site ID in the **Site ID** search field and click **Find**, to identify your workbook ID.
  2. Select your workbook and click **Done**. The **Workbook ID** property is automatically populated with the correct value.

## Properties

### Common

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

### Input

* **Client Timeout (in seconds)** - Defines the client read timeout in seconds. Default value is `100`.

### Misc

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

### Output

* **ResponseStatus** - The status of the request (success/failure information). This field supports only `ResponseStatus` variables.
