AskUxer return string, how to convert to integer?

{row} = AskUxer “How many row(s) do you see? Return only integer, value example 1,2,3. If no row available, return 0”

While {row} >1

It’s giving me error because {row} is a string :sweat_smile:

Any workaround?

Thanks

Hi @bukit ,

This should work :slight_smile:

{Response} will have an array of the values in a column. Then you can iterate overthe array which will be the number of the rows.

{Response} = AskUxer "return values in the table with column name Title as an array" -UseScreenshot true
For {row} in {Response}
    Write {row}
1 Like

Thanks Zek, I will try it. Would love a conversion feature though, like int({qty}) or I set upfront a fixed parameter with integer type and it will automatically override the default response string.

1 Like

Yeah, I agree. There should be a way to do that.

1 Like