You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Script methods with a default behavior in Power Automate flows
38
37
@@ -43,9 +42,9 @@ The following methods use a default behavior, in lieu of any user's current stat
43
42
|[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. |
44
43
|[Worksheet](/javascript/api/office-scripts/excelscript/excelscript.worksheet)|`activate`| Marks the worksheet as the active worksheet for purposes of `Workbook.getActiveWorksheet`. |
45
44
46
-
## PivotTable refresh not supported in Power Automate
45
+
## Refresh not supported in Power Automate
47
46
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.
49
48
50
49
### Script methods that do nothing when run in Power Automate flows
51
50
@@ -54,6 +53,7 @@ The following methods do nothing in a script when called through Power Automate.
0 commit comments