I have a set of variables which will populate from previous API calls. And variables are looks like, which will go up to 12.
${V_ProductCode_1}
${V_ProductCode_2}
${V_ProductCode_3}
${V_ProductCode_12}
I need to do the next API call if these variables are not null. So to check that, I have added one if controller for each request. But is there any way to simplify this approach.
This is what I have on my if condition.
"${V_ProductCode_1}"!=""