Error "End of expression expected" on Type Into activity

Hello everyone, I am trying to write a conditional statement inside the type into activity. I am not sure if this is possible, I am trying to write the following expression

If (in_Address1.Equals(“”)) Then “[k(del)]” Else in_Address1

the idea behind this is to check if the argument in_Address1 is empty, if it is, anything remaining in the selected field should be deleted, otherwise it should be rewritten by the new value of in_Address1

Hi @Dea_Pahumi ,

Could you try changing the Expression to the below :

if(String.IsNullOrWhiteSpace(in_Address1),"",in_Address1)

This part should be handled when you enabled the Property EmptyField
image

Let us know if this does not work as Expected and describe what happens.

1 Like

it worked perfectly, thank you!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.