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.

Hugh

8 Likes

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

14 Likes

thanks Mihai - that’s very useful

1 Like

is it possible to write for loop in assign?