If statement in Assign activity



In the Assign activity the right hand box can contain a VB Expression.

I am trying to put an if statement in there … keeps on giving me an error.

It should be possible yes ? It is fundamental VB functionality … has anyone succeeded ?

Would love to know if it is possible.



See attached a=if(n1>n2, "a","b")
If.xaml (4.8 KB)


thanks Mihai - that’s very useful


is it possible to write for loop in assign?