How To Test for Empty String?

  • 11 September 2014
  • 2 replies
  • 0 views

Badge +3

Hi All - in either K2 Studio or Designer, I am trying to implement the following logic:

if <field_1> is Empty then

   set DataField to <field_2>

else

   set DataField to <field_1>

 

I am trying to use the Logical IF condition and it just isn't making sense to me.  The attached screen shot shows where I'm losing it... how do I test for an Empty field in the 'condition' statement?

 

 

Thanks Much!


15765iE4AA56384B5EC15E.png
13592i580E2DD7F6CBCAE8.png

2 replies

Badge +10

If I understand your question you need to click on the e(x) button to build an expression that would look like something similar to the attachment.


13029iE72B22E058108CF2.jpg
Badge +3

:) thanks very much.  I'll give it a try!

Reply