D365 Click Element

The Click Element block clicks an element (for example, a button or other interactive component) in a Dynamics 365 Finance & Operations web application. It is automatically generated when you perform a click during recording. When executed, the target element is automatically scrolled into view and clicked.

Fully expanded, the D365 Click Element block shows the following properties:

image-20260204-140608.png

Note: The screenshot on this page uses the Elegance Design, introduced in 2025.3. If you are using an earlier version, your layout may look different.

Quick-start

  1. Use the D365 Fusion Recorder and click an element in the D365 F&O UI so the recorder generates the Click Element step.

  2. Stop the recording, review and optionally adjust the generated step (for example, timeout-related settings), then save the recording so the full recorded flow is added to the canvas.

  3. Run the flow when it’s ready.

Building block parameters

Parameters
  • Block header: The green input connector triggers the block’s execution when the flow reaches this step. The green output connector activates once the click action has been successfully completed. The block title follows the clicked element (for example, “Click <element name>”) and can be renamed by double-clicking the header text.

  • Fail: Triggers if the specified element is not found within the configured timeout behavior. Use it to handle exceptions or alternate paths in the flow.

  • Source element: Limits the element search to within a specific parent element. In Early Access versions, this setting is not yet configurable.

  • Browser window: Specifies which browser window instance the element should be found in. In Early Access versions, only a single browser session is supported, so this setting is not yet configurable.

  • Default timeout: Controls whether the block uses the default timeout from the flow settings or a custom timeout value.

  • Timeout (sec): Sets the maximum time spent attempting to complete the click action before the block gives up and triggers Fail. This field is used when Default timeout is not selected.
    Note: All cases have a global timeout configured in the Settings panel. This is unrelated to the timeout of a single building block. However, a running case will automatically be cancelled if it runs for longer than the global timeout.

Resources

Topic

Description

Flows FAQ

Common questions about creating, running, and managing flows in Leapwork.

Flows Troubleshooting

Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.

Fusion Recorder FAQ

Frequently asked questions about Fusion Recorder