Skip to main content
bradley
Expert ⭐️
Mar 1, 2025 12:52 AM UTC
New Idea

Please Support filtering for anytype SFDC Fields

Related products:CS Data Management & Integrations

There are some fields in Salesforce that are of the datatype “anyType” . An example of this are the New/OldValue fields on the AccountHistory Object in Salesforce.

While you can report on these fields, you are not able to use them as filters despite them showing up as text fields. Instead, they appear to function more as Rich Text.

Continuing this example, the object also includes a DataType picklist, so you can restrict the records being shown to only include entries where the anyType = String.

 

Use Case: Gainsight has yet to roll out any meaningful OOB history tracking, and while you can use Real Time Rules and custom change tables, duplicating the entire process in Gainsight is not particularly realistic nor as reliable. It would also be a massive redundancy. It would be great to just be able to pull in AccountHistory reporting and be able to filter on these New/OldValue fields, even if it is limited to when the data is certain datatypes.

 

You might be able to get around this by creating a Data Design and a transformation step, but it would be ideal not to have to duplicate data in the first place.

Credit to ​@mmayhall for the sources :)

4 replies

dayn.johnson
VIP ⭐️⭐️⭐️⭐️⭐️
Mar 3, 2025 1:24 PM UTC

This seems like a glaring oversight. Can we get some eyes on this, ​@revathimenon?  👀

Text strings should be able to be filtered like a string, without the need to duplicated data.

I’d love to hear from the product team about the lift required to make this happen.

Translate
Staff CS Content & Comms Manager, 2x Gainsight CS Ops Product Council Member
bradley
bradleyAuthor
Expert ⭐️
Mar 3, 2025 3:17 PM UTC

This seems like a glaring oversight. Can we get some eyes on this, ​@revathimenon?  👀

Text strings should be able to be filtered like a string, without the need to duplicated data.

I’d love to hear from the product team about the lift required to make this happen.

Well I think part of the problem is that anyType is Polymorphic so it’s not super straightforward, because we’d still want to *see* the data even if it is not just a string value. Since it’s a direct SFDC object it’s not like they have the MDA as a go between, which is essentially what the workaround would be right now.

Translate
angela_domenichelli
Contributor ⭐️⭐️⭐️⭐️⭐️
Mar 3, 2025 3:57 PM UTC

Happens to me all the time, on the backend using a transformation is my work-around.

Translate
Angela Domenichelli (She/Her/Hers)
bradley
bradleyAuthor
Expert ⭐️
Mar 3, 2025 4:01 PM UTC

Happens to me all the time, on the backend using a transformation is my work-around.

For sure - seems like if we can do that we can increment some improvements to make it work better OOB.

Translate