Skip to content

Commit b1abaef

Browse files
authored
Refresh data connections now silently does nothing again (#616)
1 parent f5458d0 commit b1abaef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/testing/power-automate-troubleshooting.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ The following methods throw an error and fail when called from a script in a Pow
3232
| [Workbook](/javascript/api/office-scripts/excelscript/excelscript.workbook) | `getActiveSlicer` |
3333
| [Workbook](/javascript/api/office-scripts/excelscript/excelscript.workbook) | `getSelectedRange` |
3434
| [Workbook](/javascript/api/office-scripts/excelscript/excelscript.workbook) | `getSelectedRanges` |
35-
| [Workbook](/javascript/api/office-scripts/excelscript/excelscript.workbook) | `refreshAllDataConnections` |
3635

3736
### Script methods with a default behavior in Power Automate flows
3837

@@ -43,9 +42,9 @@ The following methods use a default behavior, in lieu of any user's current stat
4342
| [Workbook](/javascript/api/office-scripts/excelscript/excelscript.workbook) | `getActiveWorksheet` | Returns either the first worksheet in the workbook or the worksheet currently activated by the `Worksheet.activate` method. |
4443
| [Worksheet](/javascript/api/office-scripts/excelscript/excelscript.worksheet) | `activate` | Marks the worksheet as the active worksheet for purposes of `Workbook.getActiveWorksheet`. |
4544

46-
## PivotTable refresh not supported in Power Automate
45+
## Refresh not supported in Power Automate
4746

48-
Office Scripts can't refresh data when run in Power Automate. PivotTable methods such as `PivotTable.refresh` do nothing when called in a flow. `Workbook.refreshAllDataConnections` throws an error. Additionally, Power Automate doesn't trigger a data refresh for formulas that use workbook links.
47+
Office Scripts can't refresh data when run in Power Automate. Refresh methods such as `PivotTable.refresh` do nothing when called in a flow. Additionally, Power Automate doesn't trigger a data refresh for formulas that use workbook links.
4948

5049
### Script methods that do nothing when run in Power Automate flows
5150

@@ -54,6 +53,7 @@ The following methods do nothing in a script when called through Power Automate.
5453
| Class | Method |
5554
|--|--|
5655
| [PivotTable](/javascript/api/office-scripts/excelscript/excelscript.pivottable) | `refresh` |
56+
| [Workbook](/javascript/api/office-scripts/excelscript/excelscript.workbook) | `refreshAllDataConnections` |
5757
| [Workbook](/javascript/api/office-scripts/excelscript/excelscript.workbook) | `refreshAllPivotTables` |
5858
| [Worksheet](/javascript/api/office-scripts/excelscript/excelscript.worksheet) | `refreshAllPivotTables` |
5959

0 commit comments

Comments
 (0)