Skip to main content
Solved

Rules Engine Error Message

  • January 31, 2019
  • 3 replies
  • 199 views

manmeet_dosanjh
Forum|alt.badge.img
I am building a rule off the Activity History object from Salesforce. However, I continually get an error message saying that the query is not valid. I have tried quite a few fields and the same error appears. I have now just tried to Preview, with just the "Subject" in the Show section and filtered to 1 account.



Do any queries work on the Activity History object? I don't think I have built a rule off of this object previously, but I have no idea what this error means and how to fix this! Help would be appreciated if anyone has seen this before.

Best answer by spencer_engel

Hi Manmeet - you'll need to reference the object itself for what you're looking to report on (probably task or event). Activity history cannot be queried in Gainsight.

3 replies

spencer_engel
Forum|alt.badge.img+5
  • Expert ⭐️
  • Answer
  • January 31, 2019
Hi Manmeet - you'll need to reference the object itself for what you're looking to report on (probably task or event). Activity history cannot be queried in Gainsight.


manmeet_dosanjh
Forum|alt.badge.img
  • Author
  • Helper ⭐️
  • January 31, 2019
Oh thanks for the quick reply, that's what I figured but wasn't sure! Thanks for letting me know, will use the Task object instead.


shiv_kumar_katiyar
Forum|alt.badge.img+2
  • Gainsight Employee ⭐️⭐️
  • February 1, 2019
Adding to Spencer's comment ,

"Activity History" is a related list in SFDC and it's a Salesforce limitation that we cannot fire a select query on these items.