How to count the number of options into a select?

Yes, I have found the solution in the meantime and I use :

{
“Command”: “do”,
“Target”: “”,
“Value”: “”
},
{
“Command”: “executeScript_Sandbox”,
“Target”: “var test = ${myArr}[Math.floor(Math.random()*${myArr}.length)]; return test;”,
“Value”: “randomElement”
},
{
“Command”: “repeatIf”,
“Target”: “${randomElement}==‘badvalue’”,
“Value”: “”
}

Thank you very much

1 Like