SOLVED
Filter Node if then else
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
arunchandra
6 - Meteoroid
‎05-22-2017
01:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi All,
I am trying to achieve the following in the filter node but it is not working,...can you please help....
if [Country] ="India" then [Flag]="Yes" else [Flag]="No" Endif
The node runs but the output is yes for all the countries....can you please help..
Thanks,
Arun
Solved! Go to Solution.
Labels:
- Labels:
- Common Use Cases
2 REPLIES 2
JohnJPS
15 - Aurora
‎05-22-2017
01:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @arunchandra
Please try:
If [Country] ="India" then "Yes" else "No" EndIf
I assume that [Flag] is being assigned by the result of this... therefore you do not need "[Flag]=" inside of it.
‎05-22-2017
02:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks John!
![](/skins/images/5A278AAD67B5F68761E04A0A1AFFBB3D/responsive_peak/images/icon_anonymous_message.png)