Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
Hi All,
Could anyone please help on "if and else if statement syntax" used in an expression in enrichment activity?
Thank you,
Rutuja Kelkar
Solved! Go to Solution.
Hello @Rut7,
Let say you want to do the equivalent of :
if (@gender == 1){ logInfo('Male'); } else if (@gender == 2){ logInfo('Female'); } else { logInfo('unknown'); }
That would be :
Iif(@gender = 1,'Male',Iif(@gender = 2,'Female' ,'unknown'))
Br,
Amine
View solution in original post
Views
Likes
Replies