Skip to main content
New Idea

Please Support filtering for anytype SFDC Fields

Related products:CS Data Management & Integrations

bradley

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
Forum|alt.badge.img+6
  • VIP ⭐️⭐️⭐️⭐️⭐️
  • 647 replies
  • March 3, 2025

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.


bradley
Forum|alt.badge.img+7
  • Author
  • Expert ⭐️
  • 1129 replies
  • March 3, 2025
dayn.johnson wrote:

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.


angela_domenichelli
Forum|alt.badge.img+12
  • Contributor ⭐️⭐️⭐️⭐️⭐️
  • 244 replies
  • March 3, 2025

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


bradley
Forum|alt.badge.img+7
  • Author
  • Expert ⭐️
  • 1129 replies
  • March 3, 2025
angela_domenichelli wrote:

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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings