hi <@U3AJR2DFE>, try logging the values. I'm curio...
# suitescript
s
hi @dani, try logging the values. I'm curious on whether your test is passing this condition: if(rec.getLineItemValue('roles','selectedrole',i) == roleId)