Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
Hi All,
In tMap I have the following expression:
StringHandling.TRIM(row2.country) == "Germany"?"EMEA":"UNKNOWN"
But for some reason all the values, regardless of the value of "row2.country" are all coming up as "UNKNOWN" including the ones that have a value of "Germany".
I have checked the incoming data and it is correct (initialized just like in the equation).
I am sure I am missing something simple but it is escaping me.
Thanks.
 nivedhitha
		
			nivedhitha
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		
Please try changing the condition to
StringHandling.TRIM(row2.country).equals("Germany")?"EMEA":"UNKNOWN" 
and see if it works.
For strings, it is usually done this way
 nivedhitha
		
			nivedhitha
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		
Please try changing the condition to
StringHandling.TRIM(row2.country).equals("Germany")?"EMEA":"UNKNOWN" 
and see if it works.
For strings, it is usually done this way
 
					
				
		
 
					
				
		
Thanks to you both! That solved my problem!
