Trying to build out an email based on a few BuildRowSetFromString
calls, but the email is failing because the For Loop
code is using the RowCount from one String that has more rows than another BuildRowSetFromString
.
We've tried to include some conditional content on the Rows, but it's returning an error - likely because the row doesn't exist for the condition to be met. What we tried:
IF IsNull(Row(@devicelinkrows, @i)) THEN
SET @devicelink = "null"
ELSE
SET @devicelinkrow = Row(@devicelinkrows, @i)
SET @devicelink = field(@devicelinkrow,1)
ENDIF
We have content that inserts a link when the value is 'null'.
Is it possible to SET a default when the rowcount is lower for one set versus another?