Assign If Statement

Asking for vb challenge approach advice, ideally I’d like to come up with an IF statement in assign activity that does the following:

If(in_Config(row(1).tostring="" or in_COnfig(row(2).tostring=""), “myemail@mail.com”, else in_config(row(1).tostring)

i.e every time there isn’t a value inside file, the default email address should be assigned, otherwise assign email address presented in the file.

Thanks

@ykuzin

Write as below

If(in_Config(row(1).tostring="" or in_COnfig(row(2).tostring=""), “myemail@mail.com”, in_config(row(1).tostring)

Hope this will help you

Thanks

1 Like