Hi UiPath,
I passed the below expression in switch,
IF((Value>=1 and <=20),“1”,IF((Value >=21 and <=40),“2”,“Default”))
I am getting an error of XML name expected. can anyone help on this. whats wrong with the expression ?
Switch argument is integer and value varible is also integer. Please respond asap
is your case value “IF((Value>=1 and <=20),“1”,IF((Value >=21 and <=40),“2”,“Default”))”
if u have mentioned “IF((Value>=1 and <=20),“1”,IF((Value >=21 and <=40),“2”,“Default”))” is case value then it is expecting a string not the vb expression
You can mention the VB expression on top where it says Expression. If you have mention the expression in the Expression tab and not in the Case tab then pls attach the screenshot of the Switch activity for better understanding