Skip to content

Commit cc9de79

Browse files
authored
Update block-input-action-issues.md
Edit review per CI 8406
1 parent 6eddfed commit cc9de79

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
title: Troubleshoot UI Automation Action Failures After a Block Input Action
3-
description: Learn how to resolve issues with UI or web automation actions failing after a Block Input action in Power Automate for desktop. Explore solutions and alternatives.
3+
description: Resolves an issue in which UI or web automation actions fail after a Block Input action in Power Automate for desktop.
44
ms.reviewer: iomimtso, nimoutzo, jspantouris, v-shaywood
55
ms.date: 11/21/2025
66
ms.custom: sap:Desktop flows\UI or browser automation
77
---
88
# UI automation actions fail after Block Input action
99

10-
This article provides solutions for an issue where UI or web automation actions that involve mouse or keyboard input don't work as expected after you use a _Block Input_ action in Power Automate for desktop.
10+
This article provides solutions for an issue in which UI or web automation actions that involve mouse or keyboard input don't work as expected after you use a _Block Input_ action in Power Automate for desktop.
1111

1212
## Symptoms
1313

14-
When you run a desktop flow that includes a Block Input action with the **Block It** parameter set to **True**, UI or web automation actions that follow might not work as expected. The flow continues to the next actions without showing any errors, but the mouse or keyboard interactions aren't executed.
14+
When you run a desktop flow that includes a Block Input action by having the **Block It** parameter set to **True**, subsequent UI or web automation actions might not work as expected. The flow continues to the next actions without showing any errors, but the mouse or keyboard interactions aren't run.
1515

1616
The following actions might not work correctly after a Block Input action:
1717

@@ -23,29 +23,29 @@ The following actions might not work correctly after a Block Input action:
2323
- Click UI element in window
2424
- Select tab in window
2525
- Hover mouse over UI element in window
26-
- Click link on web page (when the **Send Physical Click** option is enabled)
27-
- Populate text field on web page (when the **Populate text using physical keystrokes** option is enabled)
26+
- Click link on web page (if the **Send Physical Click** option is enabled)
27+
- Populate text field on web page (if the **Populate text using physical keystrokes** option is enabled)
2828
- Send keys
2929

3030
## Cause
3131

32-
The Block Input action requires elevated rights to run because of its critical functionality. When Block Input is active with **Block It** set to **True**, it can interfere with subsequent UI or web automation actions that require physical mouse or keyboard input.
32+
The Block Input action requires elevated rights to run because of its critical functionality. If Block Input is active by having **Block It** set to **True**, the action can interfere with subsequent UI or web automation actions that require physical mouse or keyboard input.
3333

3434
> [!NOTE]
3535
> The Block Input action works only when you:
3636
>
3737
> - Run a desktop flow through the console or debug it through the designer.
38-
> - Run Power Automate for desktop runs with elevated rights.
38+
> - Run Power Automate for desktop runs by having elevated rights.
3939
>
4040
> For more information, see [Run Power Automate with elevated rights](/power-automate/desktop-flows/how-to/run-power-automate-elevated-rights).
4141
4242
## Solution 1: Don't use the Block Input action
4343

44-
If possible, design your flow without the Block Input action to prevent this issue.
44+
To prevent this issue, design your flow without the Block Input action, if possible.
4545

4646
## Solution 2: Use alternative mouse and keyboard actions
4747

48-
If you need to use Block Input and perform mouse actions, use one of the following actions from the _Mouse and keyboard_ category instead of UI automation actions. For more information, see [Mouse and keyboard actions reference](/power-automate/desktop-flows/actions-reference/mouseandkeyboard).
48+
If you have to use Block Input and perform mouse actions, use one of the following actions from the _Mouse and keyboard_ category instead of UI automation actions. For more information, see [Mouse and keyboard actions reference](/power-automate/desktop-flows/actions-reference/mouseandkeyboard).
4949

5050
### Alternative A: Use Move mouse and Send mouse click actions
5151

@@ -60,19 +60,19 @@ The **Move mouse** action requires you to specify coordinates. Use the **Relativ
6060

6161
### Alternative B: Use Move mouse to Image action
6262

63-
Use the **Move mouse to Image** action with the **Send Click after moving mouse** option enabled. This action moves the mouse to the position of a specified image on the screen and then sends a click.
63+
Use the **Move mouse to Image** action by having the **Send Click after moving mouse** option enabled. This action moves the mouse to the position of a specified image on the screen, and then sends a click.
6464

6565
### Alternative C: Use Move mouse to Text on Screen (OCR) action
6666

67-
Use the **Move mouse to Text on Screen (OCR)** action with the **Send a click after moving mouse** option enabled. This action uses optical character recognition (OCR) to locate text on the screen, moves the mouse to that position, and then sends a click.
67+
Use the **Move mouse to Text on Screen (OCR)** action by having the **Send a click after moving mouse** option enabled. This action uses optical character recognition (OCR) to locate text on the screen, moves the mouse to that position, and then sends a click.
6868

6969
### Solution 3: Temporarily disable Block Input
7070

71-
If you need to use Block Input but also need to perform actions that require physical input, use this approach:
71+
If you have to use Block Input but also have to perform actions that require physical input, use the following method:
7272

73-
1. Use the **Block Input** action with **Block It** set to **True** when you need input blocked.
74-
1. Before executing a UI or web automation action that requires mouse or keyboard input, add a **Block Input** action with **Block It** set to **False**.
75-
1. Execute the UI or web automation action.
76-
1. If you still need to block input after the action, add another **Block Input** action with **Block It** set to **True**.
73+
1. If you need input blocked, use the **Block Input** action by having **Block It** set to **True**.
74+
1. Before you run a UI or web automation action that requires mouse or keyboard input, add a **Block Input** action that has **Block It** set to **False**.
75+
1. Run the UI or web automation action.
76+
1. If you still have to block input after the action runs, add another **Block Input** action that has **Block It** set to **True**.
7777

78-
This method allows you to temporarily enable physical input for specific actions while maintaining input blocking for the rest of the flow.
78+
This method lets you temporarily enable physical input for specific actions and also maintains input blocking for the rest of the flow.

0 commit comments

Comments
 (0)