Skip to main content
New Idea

Allow for multiple values when filtering 'Includes' on a String field

  • August 26, 2019
  • 27 replies
  • 4928 views

kelly
Forum|alt.badge.img+3
  • Helper ⭐️⭐️⭐️
In Salesforce you just separate values with a comma when using Includes, but it doesn't seem possible in Gainsight. Instead, I have to have a separate filter for each value I'd like to include which complicates the advanced logic string when I should be able to just include them in a single filter.

For example, I want to deliver an email variant based on country. If it's not a picklist, I have to write:

(A) Country = USA

(B) Country = UK

(C) Country = AUS

(D) Country = NZ

A OR B OR C OR D

Instead, I should be able to write

(A) Country includes USA,UK,AUS,NZ

In this example, it's quadruple the work for each template that has this filter; add on any additional filtering and it becomes cumbersome pretty quick. Is there any way to include multiple values when the field is not a picklist? I've tried contains, comma, comma and a space, semicolon, semicolon and a space, and Gainsight converts it to = after saving (ie, Country = ('USA,UK,AUS,NZ') ), but it does not work.

27 replies

jagadeesh_kumar_paidimarri
Forum|alt.badge.img
Could you press enter after entering each string value ?


kelly
Forum|alt.badge.img+3
  • Author
  • Helper ⭐️⭐️⭐️
  • August 26, 2019
That also results in converting it to = and the preview will not load, which I've discovered happens when filter logic is invalid.

*Edit: Converts Includes to Equal and the values change to ('USA','UK','AUS','NZ')


grace_tester_919
  • Contributor ⭐️⭐️
  • August 26, 2019
This would also be great for Reporting and rules engine 🙂


karl_rumelhart
Forum|alt.badge.img+4

kelly
Forum|alt.badge.img+3
  • Author
  • Helper ⭐️⭐️⭐️
  • August 26, 2019
That appears to only work in Report Builder. Any plans to build this into email variant and rules engine filters?

@grace_tester_919 that should help you with reporting, though!


karl_rumelhart
Forum|alt.badge.img+4
Works for Rules, too. Here is a flter in a fetch task.

I don't know off hand about email variants...I suspect it works there, as well.


kelly
Forum|alt.badge.img+3
  • Author
  • Helper ⭐️⭐️⭐️
  • August 26, 2019
My mistake on rules engine.

I tried in Variant Filters, it does not work there 😕 it acts the same as Enter and doesn't highlight/separate the entries as in your example. It then converts to EQUALS after saving. For some reason I'm getting an error in trying to upload images to Community today so I'm not able to share what it looks like.


karl_rumelhart
Forum|alt.badge.img+4
I am seeing a slighly odd UI behavior but the basic funcitonality is working for me.

Here it is after saving




karl_rumelhart
Forum|alt.badge.img+4
Which I guess is what you were saying @kelly :)


karl_rumelhart
Forum|alt.badge.img+4
@nitisha_rathi @farhat_mirza Please look at the UI for includes on email variant filter.


kelly
Forum|alt.badge.img+3
  • Author
  • Helper ⭐️⭐️⭐️
  • August 26, 2019
Thanks Karl. Yes, that is how it behaves for me, but the actual filtering doesn't work.



See below, I have participants with the Region US or Canada. I try both Enter and Tab for includes, and the Preview is blank. The only time I've encountered the preview not to render is when there is something wrong with the variant filter logic.



In the second sample, if I break the regions out to two different statements, the preview then renders.










For the Rules Engine, for some reason Includes is not an option for me for that field so I can't test it there, but maybe that's a setting on our end somehow, I will check with our Admins for that.




manmeet_dosanjh
Forum|alt.badge.img
+1 to this request!

I would envision that this would work similar to how Salesforce reports allow you to just enter a ',' between values, even if it's '=' or 'includes'.

This would be much easier than adding the field each time then editing the filter logic to OR.


karl_rumelhart
Forum|alt.badge.img+4
@kelly It looks like the difference is between Salesforce objects vs MDA objects. I am not sure why there is a difference here but not in reporting. @swaroop_badam or @jitin_mehndiratta can you explain?


diane_morneau
Forum|alt.badge.img
  • Helper ⭐️⭐️⭐️
  • August 27, 2019
I tested it with a multi variant template and the moment I apply a formula to a variant with the include operator, I don't see any of the template text in my previews.


swaroop_badam
  • Helper ⭐️
  • August 28, 2019
We are planning to release this for Salesforce objects in October release


swaroop_badam
  • Helper ⭐️
  • December 3, 2019

We couldn’t take this up due to other priorities. But it is definitely part of our roadmap.


sai_ram
Forum|alt.badge.img+1
  • Expert ⭐️⭐️
  • December 4, 2019

@swaroop_badam Thanks for your honest reply! 


kelly
Forum|alt.badge.img+3
  • Author
  • Helper ⭐️⭐️⭐️
  • March 10, 2020

This appears to present itself in other places, not just variant filtering. I can also not use ‘includes’ in a string field when using calculated fields on a conditional wait step. Any chance this is going to be picked up again @swaroop_badam?


kelly
Forum|alt.badge.img+3
  • Author
  • Helper ⭐️⭐️⭐️
  • June 2, 2020

Any update here?


phani_kumar
Forum|alt.badge.img+3
  • Gainsight Employee ⭐️⭐️
  • July 8, 2020

+1 to this.

In Salesforce you just separate values with a comma when using Includes, but it doesn't seem possible in Gainsight. Instead, I have to have a separate filter for each value I'd like to include which complicates the advanced logic string when I should be able to just include them in a single filter.

For example, I want to deliver an email variant based on country. If it's not a picklist, I have to write:

(A) Country = USA

(B) Country = UK

(C) Country = AUS

(D) Country = NZ

A OR B OR C OR D

Instead, I should be able to write

(A) Country includes USA,UK,AUS,NZ

In this example, it's quadruple the work for each template that has this filter; add on any additional filtering and it becomes cumbersome pretty quick. Is there any way to include multiple values when the field is not a picklist? I've tried contains, comma, comma and a space, semicolon, semicolon and a space, and Gainsight converts it to = after saving (ie, Country = ('USA,UK,AUS,NZ') ), but it does not work.
 

Actually, when we used “Includes” in Program Variant filters it is converting it to “=” equals after saving the condition.

Screenshots for the same

After saving the filter condition.

Thanks.


kelly
Forum|alt.badge.img+3
  • Author
  • Helper ⭐️⭐️⭐️
  • July 24, 2020

I also cannot use ‘includes’ for string fields in query builder - in an attempt to exclude poor data quality from entering a program, I am attempting ‘does not contain’ multiple values, and it does not work.

 

Any update on when this will function similar to Salesforce, separating multiple values by comma/semicolon/tab throughout Gainsight?


kelly
Forum|alt.badge.img+3
  • Author
  • Helper ⭐️⭐️⭐️
  • February 22, 2021

Any update on this?


bradley
Forum|alt.badge.img+9
  • Expert ⭐️
  • February 23, 2021

I’m curious too, as this is a nice articulation of a problem I didn’t previously have a good way to describe.


anirbandutta
Forum|alt.badge.img+2
  • Expert ⭐️
  • February 8, 2022

I’m curious too, as this is a nice articulation of a problem I didn’t previously have a good way to describe.

@rakesh do we have an update to share?


Forum|alt.badge.img+1
  • Contributor ⭐️⭐️
  • August 24, 2023

Any update