Set Element Checkbox

The Set Element Checkbox building block checks or unchecks checkbox fields in a Salesforce application. It is automatically created when you click a checkbox while recording with the Salesforce Fusion Recorder. It also supports checkbox actions inside grid elements, enabling automation directly in tabular interfaces.

Note: This block works only in browser sessions launched using the Salesforce Login block or within an active Salesforce recording session.

Fully expanded, the Set Element Combo Box block shows the following properties:

image-20260203-102526.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 Salesforce Fusion Recorder and interact with a checkbox in the Salesforce UI so the recorder generates the Set Element Checkbox step.

  2. Stop the recording, review and optionally adjust the generated step (for example, Checkbox state and 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: Shows the current title of the block. The title is generated based on the captured element (for example, “Set Email Subscription”), but you can edit it by double-clicking the title.

  • Checkbox state: Determines whether the checkbox will be checked or unchecked. The state is captured during recording and can be adjusted later in Studio.

  • Fail: This output connector triggers if the checkbox element cannot be located within the configured timeout behavior. Use it to add fallback conditions or error handling when the target element is missing.

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

  • Timeout (sec): Specifies how long the block waits for the checkbox to become available before triggering 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 is automatically cancelled if it runs 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.

Salesforce FAQ

Frequently asked questions about Salesforce

Salesforce Fusion Recorder

How to use the Salesforce Fusion Recorder