Skip to content
Bug Barometer

Row() function fails to resolve a dynamic index variable when iterating over a rowset returned by RetrieveSalesforceObjects()

A fix is rolling out and may not have reached your org.

Summary

The Row() function does not correctly evaluate a dynamic variable or expression supplied as its second parameter when accessing a rowset returned by RetrieveSalesforceObjects(). Although RetrieveSalesforceObjects() successfully returns the expected records and RowCount() reports the correct number of rows, Row(@rows, @i) does not resolve the current row as expected. As a result, subsequent calls to Field() may return an incorrect value (for example, True) instead of the actual field value.

This behavior occurs only when a dynamic variable or expression is used as the row index. Using a hardcoded numeric index (for example, Row(@rows, 1)) returns the expected row and field values.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deploying with 1 report

    Nov 30, 2026

Also open in Marketing Cloud Platform