Select Row

The Salesforce Select Row building block selects a specific row inside a table or grid in a Salesforce application. It is automatically created when you select a row during recording with the Salesforce Fusion Recorder, and it lets your flow interact with data at row level (for example clicks, edits, validations, or actions within a specific row context). This block works only in browser windows launched using the Login block or within the current Salesforce recording session.

image-20260209-154756.png

Note: The layout shown in some documentation is part of the Elegance Design, introduced in Leapwork 2025.3. Earlier versions may display a different layout.

Quick-start

  1. Drag Select Row onto the canvas.

  2. Connect the block in the flow and specify the basic parameters required for this block to operate: Select row by and the corresponding Row identifier / Row index / Row text field.

  3. Run the flow when it’s ready.

Building block parameters

Parameters
  • Block header: The green input connector triggers the block when the flow reaches it. The green output connector triggers when the row has been selected successfully. You can rename the block title by double-clicking it and typing in a new title.

  • Select row by: Defines how the block locates the target row in the grid:

    • Row identifier: Selects the row using a specific field value (for example an ID or label).

    • Row index: Selects the row by its numeric position, starting from 1.

    • Row text: Selects the row by matching the visible text content within the row.

  • Row identifier / Row index / Row text: Adapts to the option selected in Select row by. Use it to enter the identifier value, the numeric row index (starting from 1), or the text that should match the row.

  • Text fields: Stores key–value pairs that can be inserted as dynamic tokens into the row selector field via Insert token, so row selection can be driven by runtime values.

  • Fail: Triggers if the row cannot be found within the configured timeout, so the flow can branch into fallback or error-handling logic.

  • Default timeout: If the checkbox is not selected, the timeout is 10 seconds (using Timeout (sec)). If the checkbox is selected, the Default timeout value from the flow settings applies.

  • Timeout (sec): The maximum time allowed to locate the specified row before giving up and triggering Fail. This value is used when Default timeout is not selected (default is 10 seconds). This is separate from the case global timeout in Settings.

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